Property | Type | Description |
---|
Method | Description | |
---|---|---|
ItemPicker ( ) : System |
Initializes a new instance of the ItemPicker class.
|
|
RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void |
This is where you implment the simple aspects of rendering your control. The rest will be handled by calling RenderControlHelper's RenderControl() method.
|
|
RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void |
Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
|
|
RenderCustomPickerActions ( System.Web.UI.HtmlTextWriter writer ) : void |
Render any additional picker actions
|
|
SelectedValueAsId ( ) : int? |
Returns the value of the currently selected item. It will return NULL if either T:Rock.Constants.None or T:Rock.Constants.All is selected. />
|
|
SelectedValueAsInt ( bool noneAsNull = true ) : int? |
Gets the selected value as an integer, returning NULL if the selected value is "0"
|
|
SelectedValuesAsInt ( ) : IEnumerable |
Selecteds the values as int.
|
|
SetValue ( int id ) : void |
Sets the value.
|
|
SetValues ( IEnumerable |
Sets the values.
|
|
ShowErrorMessage ( string errorMessage ) : void |
Shows the error message.
|
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 ( |
Raises the E:System.Web.UI.Control.Init event.
|
|
OnLoad ( |
Raises the E:System.Web.UI.Control.Load event.
|
|
RegisterJavaScript ( ) : void |
Registers the java script.
|
|
SetValueOnSelect ( ) : void |
Sets the value on select.
|
|
SetValuesOnSelect ( ) : void |
Sets the values on select.
|
|
btnSelect_Click ( object sender, |
Handles the Click event of the _btnSelect control.
|
protected OnInit ( |
||
e | An |
|
return | void |
protected OnLoad ( |
||
e | The |
|
return | void |
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void | ||
writer | System.Web.UI.HtmlTextWriter | The writer. |
return | void |
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void | ||
writer | System.Web.UI.HtmlTextWriter | The |
return | void |
public RenderCustomPickerActions ( System.Web.UI.HtmlTextWriter writer ) : void | ||
writer | System.Web.UI.HtmlTextWriter | The writer. |
return | void |
public SelectedValueAsInt ( bool noneAsNull = true ) : int? | ||
noneAsNull | bool | if set to |
return | int? |
protected abstract SetValueOnSelect ( ) : void | ||
return | void |
public SetValues ( IEnumerable |
||
ids | IEnumerable |
The ids. |
return | void |
protected abstract SetValuesOnSelect ( ) : void | ||
return | void |
public ShowErrorMessage ( string errorMessage ) : void | ||
errorMessage | string | The error message. |
return | void |
protected btnSelect_Click ( object sender, |
||
sender | object | The source of the event. |
e | The |
|
return | void |