C# Class Engage.Dnn.Publish.Admin.Tools.ResetDisplayPage

A control which allows users to reset the display page of all children of a category to that category's Child Display Page.
Inheritance: ModuleBase
Exibir arquivo Open project: EngageSoftware/Engage-Publish

Protected Properties

Property Type Description
CategoryDisplayPageUpdatePanel global::System.Web.UI.UpdatePanel
DisplayPageLabel global::System.Web.UI.WebControls.Label
ParentCategoryDropDownList global::System.Web.UI.WebControls.DropDownList
ResetButton global::System.Web.UI.WebControls.LinkButton
SuccessMessage global::System.Web.UI.WebControls.Label

Private Properties

Property Type Description
FillDisplayPageLabel void
FillParentCategoryDropDown void
Page_Load void
ParentCategoryDropDownList_SelectedIndexChanged void
ResetButton_Click void

Protected Methods

Method Description
OnInit ( EventArgs e ) : void

Raises the E:Init event.

Private Methods

Method Description
FillDisplayPageLabel ( ) : void

Fills the DisplayPageLabel control with the ChildDisplayTabName of the current ParentCategory.

FillParentCategoryDropDown ( ) : void

Fills the ParentCategoryDropDownList control.

Page_Load ( object sender, EventArgs e ) : void

Handles the Load event of the Page control.

ParentCategoryDropDownList_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ParentCategoryDropDownList control.

ResetButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the ResetButton control.

Method Details

OnInit() protected method

Raises the E:Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
return void

Property Details

CategoryDisplayPageUpdatePanel protected_oe property

CategoryDisplayPageUpdatePanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UpdatePanel CategoryDisplayPageUpdatePanel
return global::System.Web.UI.UpdatePanel

DisplayPageLabel protected_oe property

DisplayPageLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label DisplayPageLabel
return global::System.Web.UI.WebControls.Label

ParentCategoryDropDownList protected_oe property

ParentCategoryDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList ParentCategoryDropDownList
return global::System.Web.UI.WebControls.DropDownList

ResetButton protected_oe property

ResetButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton ResetButton
return global::System.Web.UI.WebControls.LinkButton

SuccessMessage protected_oe property

SuccessMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SuccessMessage
return global::System.Web.UI.WebControls.Label