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

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
Exibir arquivo Open project: ayende/Subtext

Protected Properties

Property Type Description
btnAddNewBlog System.Web.UI.WebControls.Button

Private Properties

Property Type Description
BindGroups void
BindList void
InitializeComponent void
IsTextBoxEmpty bool
SaveConfig void
ValidateFieldLength bool
ValidateRequiredField bool
btnAddNewBlog_Click void

Protected Methods

Method Description
BindEdit ( ) : void
BindEditHelp ( ) : void
OnInit ( EventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void
SaveBlogEdits ( ) : void
SaveNewBlog ( ) : void
SetAliasEdit ( bool editing ) : void
ToggleActive ( ) : void
ToggleActiveString ( bool active ) : string
btnAliasCancel_Click ( object sender, EventArgs e ) : void
btnAliasSave_Click ( object sender, EventArgs e ) : void
btnCancel_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
chkShowInactive_CheckedChanged ( object sender, EventArgs e ) : void
lbAddAlias_OnClick ( object sender, EventArgs e ) : void
rprBlogAliasList_ItemCommand ( object sender, EventArgs e ) : void
rprBlogsList_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void

Private Methods

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

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

IsTextBoxEmpty ( ITextControl textbox ) : bool
SaveConfig ( ) : void
ValidateFieldLength ( ITextControl textbox, string fieldName, int maxLength ) : bool
ValidateRequiredField ( ITextControl textbox, string fieldName ) : bool
btnAddNewBlog_Click ( object sender, EventArgs e ) : void

Method Details

BindEdit() protected method

protected BindEdit ( ) : void
return void

BindEditHelp() protected method

protected BindEditHelp ( ) : void
return void

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

SaveBlogEdits() protected method

protected SaveBlogEdits ( ) : void
return void

SaveNewBlog() protected method

protected SaveNewBlog ( ) : void
return void

SetAliasEdit() protected method

protected SetAliasEdit ( bool editing ) : void
editing bool
return void

ToggleActive() protected method

protected ToggleActive ( ) : void
return void

ToggleActiveString() protected static method

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

btnAliasCancel_Click() protected method

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

btnAliasSave_Click() protected method

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

btnCancel_Click() protected method

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

btnSave_Click() protected method

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

chkShowInactive_CheckedChanged() protected method

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

lbAddAlias_OnClick() protected method

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

rprBlogAliasList_ItemCommand() protected method

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

rprBlogsList_ItemCommand() protected method

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

Property Details

btnAddNewBlog protected_oe property

protected Button,System.Web.UI.WebControls btnAddNewBlog
return System.Web.UI.WebControls.Button