C# Class Subtext.Web.Admin.Pages.EditCategories

Inheritance: Subtext.Web.Admin.Pages.AdminPage
Exibir arquivo Open project: ayende/Subtext

Protected Properties

Property Type Description
Add global::System.Web.UI.WebControls.PlaceHolder
Edit global::System.Web.UI.WebControls.PlaceHolder
Messages global::Subtext.Web.Admin.WebUI.MessagePanel
categoryLinks global::Subtext.Web.Admin.UserControls.CategoryLinkList
ckbNewIsActive global::System.Web.UI.WebControls.CheckBox
dgrItems global::System.Web.UI.WebControls.DataGrid
lkbPost global::System.Web.UI.WebControls.Button
txbNewDescription global::System.Web.UI.WebControls.TextBox
txbNewTitle global::System.Web.UI.WebControls.TextBox
valtxbNewTitleRequired global::System.Web.UI.WebControls.RequiredFieldValidator

Public Methods

Method Description
EditCategories ( ) : System

Protected Methods

Method Description
OnInit ( EventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void
lkbPost_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
BindList ( ) : void
BindLocalUI ( ) : void
ConfirmDelete ( int categoryID, string categoryTitle ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PersistCategory ( LinkCategory category ) : void
ToggleAddNew ( bool showAddNew ) : void
dgrCategories_CancelCommand ( object source, System.Web.UI.WebControls.DataGridCommandEventArgs e ) : void
dgrCategories_DeleteCommand ( object source, System.Web.UI.WebControls.DataGridCommandEventArgs e ) : void
dgrCategories_EditCommand ( object source, System.Web.UI.WebControls.DataGridCommandEventArgs e ) : void
dgrCategories_UpdateCommand ( object source, System.Web.UI.WebControls.DataGridCommandEventArgs e ) : void

Method Details

EditCategories() public method

public EditCategories ( ) : System
return System

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

lkbPost_Click() protected method

protected lkbPost_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

Add protected_oe property

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

Edit protected_oe property

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

Messages protected_oe property

Messages control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Subtext.Web.Admin.WebUI.MessagePanel Messages
return global::Subtext.Web.Admin.WebUI.MessagePanel

categoryLinks protected_oe property

categoryLinks control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Subtext.Web.Admin.UserControls.CategoryLinkList categoryLinks
return global::Subtext.Web.Admin.UserControls.CategoryLinkList

ckbNewIsActive protected_oe property

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

dgrItems protected_oe property

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

lkbPost protected_oe property

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

txbNewDescription protected_oe property

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

txbNewTitle protected_oe property

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

valtxbNewTitleRequired protected_oe property

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