C# Class ScrewTurn.Wiki.AdminSnippets

Show file Open project: mono/ScrewTurnWiki

Protected Properties

Property Type Description
btnCancel global::System.Web.UI.WebControls.Button
btnCreate global::System.Web.UI.WebControls.Button
btnDelete global::System.Web.UI.WebControls.Button
btnNewSnippet global::System.Web.UI.WebControls.Button
btnNewTemplate global::System.Web.UI.WebControls.Button
btnSave global::System.Web.UI.WebControls.Button
cvName global::System.Web.UI.WebControls.CustomValidator
editor global::ScrewTurn.Wiki.Editor
lblEditSnippetWarning global::System.Web.UI.WebControls.Literal
lblEditTitleSnippet global::System.Web.UI.WebControls.Literal
lblEditTitleTemplate global::System.Web.UI.WebControls.Literal
lblName global::System.Web.UI.WebControls.Literal
lblProvider global::System.Web.UI.WebControls.Literal
lblResult global::System.Web.UI.WebControls.Label
lblSnippetsTemplates global::System.Web.UI.WebControls.Literal
pnlEditElement global::System.Web.UI.WebControls.Panel
pnlList global::System.Web.UI.WebControls.Panel
providerSelector global::ScrewTurn.Wiki.ProviderSelector
rfvName global::System.Web.UI.WebControls.RequiredFieldValidator
rptSnippetsTemplates global::System.Web.UI.WebControls.Repeater
txtCurrentElement global::System.Web.UI.WebControls.HiddenField
txtName global::System.Web.UI.WebControls.TextBox

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void
btnCancel_Click ( object sender, EventArgs e ) : void
btnCreate_Click ( object sender, EventArgs e ) : void
btnDelete_Click ( object sender, EventArgs e ) : void
btnNewSnippet_Click ( object sender, EventArgs e ) : void
btnNewTemplate_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
cvName_ServerValidate ( object sender, ServerValidateEventArgs e ) : void
rptSnippetsTemplates_DataBinding ( object sender, EventArgs e ) : void
rptSnippetsTemplates_ItemCommand ( object sender, CommandEventArgs e ) : void

Private Methods

Method Description
CreateSnippet ( ) : void

Creates a snippet.

CreateTemplate ( ) : void

Creates a template.

DeleteSnippet ( string name ) : void

Deletes a snippet.

DeleteTemplate ( string name ) : void

Deletes a template.

RefreshList ( ) : void

Refreshes the users list.

ResetEditor ( ) : void

Resets the account editor.

ReturnToList ( ) : void

Returns to the accounts list.

SaveSnippet ( string name ) : void

Saves a snippet.

SaveTemplate ( string name ) : void

Saves a template.

SelectSnippet ( string name ) : void

Selects a snippet for editing.

SelectTemplate ( string name ) : void

Selects a template for editing.

SetTitleForSnippet ( ) : void

Sets the editing area title for a snippet.

SetTitleForTemplate ( ) : void

Sets the editing area title for a template.

Method Details

Page_Load() protected method

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

btnCancel_Click() protected method

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

btnCreate_Click() protected method

protected btnCreate_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnDelete_Click() protected method

protected btnDelete_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnNewSnippet_Click() protected method

protected btnNewSnippet_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnNewTemplate_Click() protected method

protected btnNewTemplate_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnSave_Click() protected method

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

cvName_ServerValidate() protected method

protected cvName_ServerValidate ( object sender, ServerValidateEventArgs e ) : void
sender object
e ServerValidateEventArgs
return void

rptSnippetsTemplates_DataBinding() protected method

protected rptSnippetsTemplates_DataBinding ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

rptSnippetsTemplates_ItemCommand() protected method

protected rptSnippetsTemplates_ItemCommand ( object sender, CommandEventArgs e ) : void
sender object
e CommandEventArgs
return void

Property Details

btnCancel protected property

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

btnCreate protected property

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

btnDelete protected property

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

btnNewSnippet protected property

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

btnNewTemplate protected property

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

btnSave protected property

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

cvName protected property

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

editor protected property

editor control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ScrewTurn.Wiki.Editor editor
return global::ScrewTurn.Wiki.Editor

lblEditSnippetWarning protected property

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

lblEditTitleSnippet protected property

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

lblEditTitleTemplate protected property

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

lblName protected property

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

lblProvider protected property

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

lblResult protected property

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

lblSnippetsTemplates protected property

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

pnlEditElement protected property

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

pnlList protected property

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

providerSelector protected property

providerSelector control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ScrewTurn.Wiki.ProviderSelector providerSelector
return global::ScrewTurn.Wiki.ProviderSelector

rfvName protected property

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

rptSnippetsTemplates protected property

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

txtCurrentElement protected property

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

txtName protected property

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