Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 |
|
Результат | void |
protected OnLoad ( |
||
e | The |
|
Результат | void |
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void | ||
writer | System.Web.UI.HtmlTextWriter | The writer. |
Результат | void |
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void | ||
writer | System.Web.UI.HtmlTextWriter | The |
Результат | void |
public RenderCustomPickerActions ( System.Web.UI.HtmlTextWriter writer ) : void | ||
writer | System.Web.UI.HtmlTextWriter | The writer. |
Результат | void |
public SelectedValueAsInt ( bool noneAsNull = true ) : int? | ||
noneAsNull | bool | if set to |
Результат | int? |
public SelectedValuesAsInt ( ) : IEnumerable |
||
Результат | IEnumerable |
protected abstract SetValueOnSelect ( ) : void | ||
Результат | void |
public SetValues ( IEnumerable |
||
ids | IEnumerable |
The ids. |
Результат | void |
protected abstract SetValuesOnSelect ( ) : void | ||
Результат | void |
public ShowErrorMessage ( string errorMessage ) : void | ||
errorMessage | string | The error message. |
Результат | void |
protected btnSelect_Click ( object sender, |
||
sender | object | The source of the event. |
e | The |
|
Результат | void |