C# Класс Engage.Dnn.F3.ViewLinks

Allows the user to search for content in either module and to replace values once found
Наследование: DotNetNuke.Entities.Modules.PortalModuleBase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

BindPublishData() защищенный Метод

protected BindPublishData ( string searchValue ) : void
searchValue string
Результат void

BindTextHtmlData() защищенный Метод

protected BindTextHtmlData ( string searchValue ) : void
searchValue string
Результат void

CleanupText() защищенный статический Метод

protected static CleanupText ( string text, bool encodeText ) : string
text string
encodeText bool
Результат string

GetPublishViewLink() защищенный статический Метод

protected static GetPublishViewLink ( int itemId ) : string
itemId int
Результат string

GetTextHtmlModuleEditLink() защищенный статический Метод

protected static GetTextHtmlModuleEditLink ( int moduleId, int tabId ) : string
moduleId int
tabId int
Результат string

OnInit() защищенный Метод

Raises the Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

Описание свойств

AllPortalsCheckBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.CheckBox

PublishResultsGrid защищенное свойство

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
Результат global::System.Web.UI.WebControls.GridView

ReplacePublishButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

ReplaceTextHtmlButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

ReplacementPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

ReplacementResultsLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

ReplacementTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

ResultsGrid защищенное свойство

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
Результат global::System.Web.UI.WebControls.GridView

SearchPublishButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

SearchTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

SearchTextHtmlButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button