C# Class Engage.Dnn.F3.ViewLinks

Allows the user to search for content in either module and to replace values once found
Inheritance: DotNetNuke.Entities.Modules.PortalModuleBase
Afficher le fichier Open project: EngageSoftware/Engage-F3

Protected Properties

Свойство Type Description
AllPortalsCheckBox global::System.Web.UI.WebControls.CheckBox
PublishResultsGrid global::System.Web.UI.WebControls.GridView
ReplacePublishButton global::System.Web.UI.WebControls.Button
ReplaceTextHtmlButton global::System.Web.UI.WebControls.Button
ReplacementPanel global::System.Web.UI.WebControls.Panel
ReplacementResultsLabel global::System.Web.UI.WebControls.Label
ReplacementTextBox global::System.Web.UI.WebControls.TextBox
ResultsGrid global::System.Web.UI.WebControls.GridView
SearchPublishButton global::System.Web.UI.WebControls.Button
SearchTextBox global::System.Web.UI.WebControls.TextBox
SearchTextHtmlButton global::System.Web.UI.WebControls.Button

Méthodes protégées

Méthode Description
BindPublishData ( string searchValue ) : void
BindTextHtmlData ( string searchValue ) : void
CleanupText ( string text, bool encodeText ) : string
GetPublishViewLink ( int itemId ) : string
GetTextHtmlModuleEditLink ( int moduleId, int tabId ) : string
OnInit ( EventArgs e ) : void

Raises the Control.Init event.

Private Methods

Méthode Description
CreateHtmlTextController ( ) : IHtmlTextModuleController

Creates an instance of the HTML/Text module's controller.

CreateNewTextHtmlVersion ( string searchValue, string replacementValue, int moduleId, int tabId, int portalId, string content ) : void

Creates the new version of the Text/HTML content for the module with the given ID, with searchValue replaced by replacementValue.

Page_Load ( object sender, EventArgs e ) : void

Handles the Control.Load event of this control.

ReplacePublishButton_Click ( object sender, EventArgs e ) : void

Handles the Button.Click event of the ReplacePublishButton control.

ReplaceTextHtmlButton_Click ( object sender, EventArgs e ) : void

Handles the Button.Click event of the ReplaceTextHtmlButton control.

SearchPublishButton_Click ( object sender, EventArgs e ) : void

Handles the Button.Click event of the SearchPublishButton control.

SearchTextHtmlButton_Click ( object sender, EventArgs e ) : void

Handles the Button.Click event of the SearchTextHtmlButton control.

ShowResults ( bool showPublish ) : void

Shows the proper results grid and the ReplacementPanel, resetting its display and showing either the Text/HTML results and buttons.

Method Details

BindPublishData() protected méthode

protected BindPublishData ( string searchValue ) : void
searchValue string
Résultat void

BindTextHtmlData() protected méthode

protected BindTextHtmlData ( string searchValue ) : void
searchValue string
Résultat void

CleanupText() protected static méthode

protected static CleanupText ( string text, bool encodeText ) : string
text string
encodeText bool
Résultat string

GetPublishViewLink() protected static méthode

protected static GetPublishViewLink ( int itemId ) : string
itemId int
Résultat string

GetTextHtmlModuleEditLink() protected static méthode

protected static GetTextHtmlModuleEditLink ( int moduleId, int tabId ) : string
moduleId int
tabId int
Résultat string

OnInit() protected méthode

Raises the Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

Property Details

AllPortalsCheckBox protected_oe property

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

PublishResultsGrid protected_oe property

PublishResultsGrid control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.GridView PublishResultsGrid
Résultat global::System.Web.UI.WebControls.GridView

ReplacePublishButton protected_oe property

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

ReplaceTextHtmlButton protected_oe property

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

ReplacementPanel protected_oe property

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

ReplacementResultsLabel protected_oe property

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

ReplacementTextBox protected_oe property

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

ResultsGrid protected_oe property

ResultsGrid control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.GridView ResultsGrid
Résultat global::System.Web.UI.WebControls.GridView

SearchPublishButton protected_oe property

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

SearchTextBox protected_oe property

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

SearchTextHtmlButton protected_oe property

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