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
Afficher le fichier Open project: ayende/Subtext

Protected Properties

Свойство 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

Méthodes publiques

Méthode Description
ShowError ( string message ) : void
ShowMessage ( string message ) : void

Méthodes protégées

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

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

protected OnActiveChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OnBlogEdit() protected méthode

protected OnBlogEdit ( int blogId ) : void
blogId int
Résultat void

OnCreateNewBlogClick() protected méthode

protected OnCreateNewBlogClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OnInit() protected méthode

protected OnInit ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnItemCommand() protected méthode

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

Page_Load() protected méthode

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

ShowError() public méthode

public ShowError ( string message ) : void
message string
Résultat void

ShowMessage() public méthode

public ShowMessage ( string message ) : void
message string
Résultat void

ToggleActiveString() protected static méthode

protected static ToggleActiveString ( bool active ) : string
active bool
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat global::Subtext.Web.Controls.RepeaterWithEmptyDataTemplate