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

Inheritance: ItemPicker
显示文件 Open project: NewSpring/Rock

Private Properties

Property Type Description

Public Methods

Method Description
PagePicker ( ) : System

Initializes a new instance of the PagePicker 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.

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

Render any additional picker actions

SetValue ( Rock pageRoute ) : void

Sets the value.

SetValues ( IEnumerable pages ) : void

Sets the values.

_btnSelectCurrentPage_Click ( object sender, EventArgs e ) : void

Handles the Click event of the _btnSelectCurrentPage control.

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.

SetValueOnSelect ( ) : void

Handles the Click event of the btnSelect control.

SetValuesOnSelect ( ) : void

Sets the values on select.

_btnSelectPageRoute_Click ( object sender, EventArgs e ) : void

Handles the Click event of the _btnSelectPageRoute control.

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

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

PagePicker() public method

Initializes a new instance of the PagePicker class.
public PagePicker ( ) : System
return System

RenderBaseControl() public method

This is where you implment the simple aspects of rendering your control. The rest will be handled by calling RenderControlHelper's RenderControl() method.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
return void

RenderCustomPickerActions() public method

Render any additional picker actions
public RenderCustomPickerActions ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
return void

SetValue() public method

Sets the value.
public SetValue ( Rock pageRoute ) : void
pageRoute Rock The page route.
return void

SetValueOnSelect() protected method

Handles the Click event of the btnSelect control.
protected SetValueOnSelect ( ) : void
return void

SetValues() public method

Sets the values.
public SetValues ( IEnumerable pages ) : void
pages IEnumerable The pages.
return void

SetValuesOnSelect() protected method

Sets the values on select.
protected SetValuesOnSelect ( ) : void
return void

_btnSelectCurrentPage_Click() public method

Handles the Click event of the _btnSelectCurrentPage control.
public _btnSelectCurrentPage_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

_btnSelectPageRoute_Click() protected method

Handles the Click event of the _btnSelectPageRoute control.
protected _btnSelectPageRoute_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void