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

Inheritance: ItemPicker
Afficher le fichier Open project: NewSpring/Rock

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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
Résultat void

OnInit() protected méthode

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

PagePicker() public méthode

Initializes a new instance of the PagePicker class.
public PagePicker ( ) : System
Résultat System

RenderBaseControl() public méthode

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.
Résultat void

RenderCustomPickerActions() public méthode

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

SetValue() public méthode

Sets the value.
public SetValue ( Rock pageRoute ) : void
pageRoute Rock The page route.
Résultat void

SetValueOnSelect() protected méthode

Handles the Click event of the btnSelect control.
protected SetValueOnSelect ( ) : void
Résultat void

SetValues() public méthode

Sets the values.
public SetValues ( IEnumerable pages ) : void
pages IEnumerable The pages.
Résultat void

SetValuesOnSelect() protected méthode

Sets the values on select.
protected SetValuesOnSelect ( ) : void
Résultat void

_btnSelectCurrentPage_Click() public méthode

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.
Résultat void

_btnSelectPageRoute_Click() protected méthode

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.
Résultat void