C# Class Rock.Web.UI.Controls.FilterField

Inheritance: System.Web.UI.WebControls.CompositeControl
Mostrar archivo Open project: NewSpring/Rock Class Usage Examples

Public Properties

Property Type Description
cbIncludeFilter RockCheckBox

Protected Properties

Property Type Description
ddlFilterType RockDropDownList
filterControls System.Web.UI.Control[]
hfExpanded System.Web.UI.WebControls.HiddenField
lbDelete System.Web.UI.WebControls.LinkButton

Public Methods

Method Description
GetSelection ( ) : string

Gets the selection.

RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.

SetCheckBoxChecked ( bool value ) : void

Sets the CheckBox checked (if it is showing)

SetSelection ( string value ) : void

Sets the selection.

ddlFilterType_SelectedIndexChanged ( object sender, EventArgs e ) : void
lbDelete_Click ( object sender, EventArgs e ) : void

Protected Methods

Method Description
CreateChildControls ( ) : void

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

Method Details

CreateChildControls() protected method

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
protected CreateChildControls ( ) : void
return void

GetSelection() public method

Gets the selection.
public GetSelection ( ) : string
return string

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

RenderControl() public method

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter An that represents the output stream to render HTML content on the client.
return void

SetCheckBoxChecked() public method

Sets the CheckBox checked (if it is showing)
public SetCheckBoxChecked ( bool value ) : void
value bool if set to true [value].
return void

SetSelection() public method

Sets the selection.
public SetSelection ( string value ) : void
value string The value.
return void

ddlFilterType_SelectedIndexChanged() public method

public ddlFilterType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

lbDelete_Click() public method

public lbDelete_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

cbIncludeFilter public_oe property

The optional checkbox which can be used to disable/enable the filter for the current run of the report
public RockCheckBox,Rock.Web.UI.Controls cbIncludeFilter
return RockCheckBox

ddlFilterType protected_oe property

The filter type dropdown
protected RockDropDownList,Rock.Web.UI.Controls ddlFilterType
return RockDropDownList

filterControls protected_oe property

The filter controls
protected Control[],System.Web.UI filterControls
return System.Web.UI.Control[]

hfExpanded protected_oe property

The hidden field for tracking expanded
protected HiddenField,System.Web.UI.WebControls hfExpanded
return System.Web.UI.WebControls.HiddenField

lbDelete protected_oe property

The delte button
protected LinkButton,System.Web.UI.WebControls lbDelete
return System.Web.UI.WebControls.LinkButton