C# Class Subtext.Web.HostAdmin.UserControls.BlogsList

User control used to create, edit and delete blogs. This only provides a few options for editing blogs. For the full options, one should visit the individual blog's admin tool.
Inheritance: System.Web.UI.UserControl
显示文件 Open project: ayende/Subtext

Protected Properties

Property Type Description
addNewBlogButton global::System.Web.UI.WebControls.Button
chkShowInactive global::System.Web.UI.WebControls.CheckBox
messagePanel global::Subtext.Web.Admin.WebUI.MessagePanel
pnlResults global::Subtext.Web.Admin.WebUI.AdvancedPanel
resultsPager global::Subtext.Web.Controls.PagingControl
rprBlogsList global::Subtext.Web.Controls.RepeaterWithEmptyDataTemplate

Public Methods

Method Description
ShowError ( string message ) : void
ShowMessage ( string message ) : void

Protected Methods

Method Description
OnActiveChanged ( object sender, EventArgs e ) : void
OnBlogEdit ( int blogId ) : void
OnCreateNewBlogClick ( object sender, EventArgs e ) : void
OnInit ( EventArgs e ) : void
OnItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void
ToggleActiveString ( bool active ) : string

Private Methods

Method Description
BindList ( ) : void
InitializeComponent ( ) : void

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

ToggleActive ( int blogId ) : void

Method Details

OnActiveChanged() protected method

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

OnBlogEdit() protected method

protected OnBlogEdit ( int blogId ) : void
blogId int
return void

OnCreateNewBlogClick() protected method

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

OnInit() protected method

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

OnItemCommand() protected method

protected OnItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void
source object
e System.Web.UI.WebControls.RepeaterCommandEventArgs
return void

Page_Load() protected method

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

ShowError() public method

public ShowError ( string message ) : void
message string
return void

ShowMessage() public method

public ShowMessage ( string message ) : void
message string
return void

ToggleActiveString() protected static method

protected static ToggleActiveString ( bool active ) : string
active bool
return string

Property Details

addNewBlogButton protected_oe property

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

chkShowInactive protected_oe property

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

messagePanel protected_oe property

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

pnlResults protected_oe property

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

resultsPager protected_oe property

resultsPager control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Subtext.Web.Controls.PagingControl resultsPager
return global::Subtext.Web.Controls.PagingControl

rprBlogsList protected_oe property

rprBlogsList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Subtext.Web.Controls.RepeaterWithEmptyDataTemplate rprBlogsList
return global::Subtext.Web.Controls.RepeaterWithEmptyDataTemplate