C# Class DotNetNuke.Modules.UserDefinedTable.Token2Xsl

The Token2Xsl Class provides an option to create a XSL rendering file derived from a html template for the UserDefinedTable
Inheritance: DotNetNuke.UI.Modules.ModuleUserControlBase
Show file Open project: DNNCommunity/DNN.FormAndList

Protected Properties

Property Type Description
addColumnToDetailTemplate global::System.Web.UI.WebControls.HyperLink
addColumnToListTemplate global::System.Web.UI.WebControls.HyperLink
addColumnToTrackingEmail global::System.Web.UI.WebControls.HyperLink
addColumnWithTagsToListTemplate global::System.Web.UI.WebControls.HyperLink
addHeader global::System.Web.UI.WebControls.HyperLink
chkEnablePaging global::System.Web.UI.WebControls.CheckBox
chkEnableSearch global::System.Web.UI.WebControls.CheckBox
chkEnableSorting global::System.Web.UI.WebControls.CheckBox
chkShowDetailView global::System.Web.UI.WebControls.CheckBox
cmdBack global::System.Web.UI.WebControls.LinkButton
cmdConfirmOverwriteFile global::System.Web.UI.WebControls.LinkButton
cmdDenyOverwriteFile global::System.Web.UI.WebControls.LinkButton
cmdGenerateXslt global::System.Web.UI.WebControls.Button
cmdRebuildContent global::System.Web.UI.WebControls.LinkButton
cmdRebuildDetail global::System.Web.UI.WebControls.LinkButton
cmdRebuildTrackingEmail global::System.Web.UI.WebControls.LinkButton
cmdSaveFile global::System.Web.UI.WebControls.LinkButton
ddlColumnsForDetailView global::System.Web.UI.WebControls.DropDownList
ddlColumnsForListView global::System.Web.UI.WebControls.DropDownList
ddlColumnsForTrackingEmail global::System.Web.UI.WebControls.DropDownList
ddlHeaders global::System.Web.UI.WebControls.DropDownList
ddlListTemplateType global::System.Web.UI.WebControls.DropDownList
dshDetailView global::DotNetNuke.UI.UserControls.SectionHeadControl
dshHtml global::DotNetNuke.UI.UserControls.SectionHeadControl
dshListView global::DotNetNuke.UI.UserControls.SectionHeadControl
dshOptions global::DotNetNuke.UI.UserControls.SectionHeadControl
dshSave global::DotNetNuke.UI.UserControls.SectionHeadControl
dshTrackingEmail global::DotNetNuke.UI.UserControls.SectionHeadControl
dshXslt global::DotNetNuke.UI.UserControls.SectionHeadControl
dvDetailView global::System.Web.UI.HtmlControls.HtmlGenericControl
dvListview global::System.Web.UI.HtmlControls.HtmlGenericControl
dvOptions global::System.Web.UI.HtmlControls.HtmlGenericControl
dvTrackingEmail global::System.Web.UI.HtmlControls.HtmlGenericControl
hlpColumns global::System.Web.UI.WebControls.HyperLink
lblConfirm global::System.Web.UI.WebControls.Label
lblEnablePaging global::DotNetNuke.UI.UserControls.LabelControl
lblEnableSearch global::DotNetNuke.UI.UserControls.LabelControl
lblEnableSorting global::DotNetNuke.UI.UserControls.LabelControl
lblListTemplateFooter global::System.Web.UI.WebControls.Label
lblListTemplateHead global::System.Web.UI.WebControls.Label
lblSaveXslError global::System.Web.UI.WebControls.Label
lblSearchIsObsolete global::System.Web.UI.WebControls.Label
lblShowDetailView global::DotNetNuke.UI.UserControls.LabelControl
lblTemplateError global::System.Web.UI.WebControls.Label
lblXslScriptError global::System.Web.UI.WebControls.Label
panConfirm global::System.Web.UI.WebControls.Panel
plColumns global::DotNetNuke.UI.UserControls.LabelControl
plColumns2 global::DotNetNuke.UI.UserControls.LabelControl
plColumns3 global::DotNetNuke.UI.UserControls.LabelControl
plDelimiter global::DotNetNuke.UI.UserControls.LabelControl
plFileName global::DotNetNuke.UI.UserControls.LabelControl
plFolderName global::DotNetNuke.UI.UserControls.LabelControl
plHeaderList global::DotNetNuke.UI.UserControls.LabelControl
plListType global::DotNetNuke.UI.UserControls.LabelControl
tblHtml global::System.Web.UI.HtmlControls.HtmlGenericControl
tblSave global::System.Web.UI.HtmlControls.HtmlTable
tblXslt global::System.Web.UI.HtmlControls.HtmlGenericControl
txtDetailTemplate global::System.Web.UI.WebControls.TextBox
txtFileName global::System.Web.UI.WebControls.TextBox
txtFolderName global::System.Web.UI.WebControls.TextBox
txtHeaderTemplate global::System.Web.UI.WebControls.TextBox
txtListTemplate global::System.Web.UI.WebControls.TextBox
txtListTemplateDelimiter global::System.Web.UI.WebControls.TextBox
txtTrackingEmailTemplate global::System.Web.UI.WebControls.TextBox
txtXslScript global::System.Web.UI.WebControls.TextBox

Private Properties

Property Type Description
BuildContent string
EditExistingScriptAndTemplates void
GetBasicElements IList
GetCurrentElements IList
GetDelimiter string
GetFileContent string
GetFileName string
GetFolder IFolderInfo
GetInnerTag string
GetOuterTag string
InitializeNewScript void
ListTemplateSetHeaderAndFooter void
LockControls void
Page_Load void
SaveScript bool
SetupClientScripts void
ShowXslEditor void
TemplatesPopulateColumnDropDownLists void
TemplatesSetVisibility void
TokenTemplateSettingsAsXml string
UpdateSettings void
chkShowDetailView_CheckedChanged void
cmdBack_Click void
cmdConfirmOverwriteFile_Click void
cmdDenyOverwriteFile_Click void
cmdGenerateXslt_Click void
cmdRebuildContent_Click void
cmdRebuildDetail_Click void
cmdSaveFile_Click void
ddlListType_SelectedIndexChanged void
isValid bool
setupDelimiter void

Protected Methods

Method Description
OnInit ( EventArgs e ) : void
cmdRebuildTrackingEmail_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
BuildContent ( IList elements ) : string
EditExistingScriptAndTemplates ( IFileInfo file ) : void
GetBasicElements ( ) : IList
GetCurrentElements ( ) : IList
GetDelimiter ( bool notCurrent = true ) : string
GetFileContent ( ) : string
GetFileName ( ) : string
GetFolder ( ) : IFolderInfo
GetInnerTag ( ) : string
GetOuterTag ( string listType ) : string
InitializeNewScript ( ) : void
ListTemplateSetHeaderAndFooter ( ) : void
LockControls ( bool isLockRequested ) : void
Page_Load ( object sender, EventArgs e ) : void
SaveScript ( string fileContent, string fileName, IFolderInfo folder, bool forceOverWrite ) : bool
SetupClientScripts ( ) : void
ShowXslEditor ( ) : void
TemplatesPopulateColumnDropDownLists ( ) : void
TemplatesSetVisibility ( bool isViewMode ) : void
TokenTemplateSettingsAsXml ( ) : string
UpdateSettings ( string fileWithPath ) : void
chkShowDetailView_CheckedChanged ( object sender, EventArgs e ) : void
cmdBack_Click ( object sender, EventArgs e ) : void
cmdConfirmOverwriteFile_Click ( object sender, EventArgs e ) : void
cmdDenyOverwriteFile_Click ( object sender, EventArgs e ) : void
cmdGenerateXslt_Click ( object sender, EventArgs e ) : void
cmdRebuildContent_Click ( object sender, EventArgs e ) : void
cmdRebuildDetail_Click ( object sender, EventArgs e ) : void
cmdSaveFile_Click ( object sender, EventArgs e ) : void
ddlListType_SelectedIndexChanged ( object sender, EventArgs e ) : void
isValid ( string x, ErrorOutput pos, bool addRoot ) : bool
setupDelimiter ( ) : void

Method Details

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

cmdRebuildTrackingEmail_Click() protected method

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

Property Details

addColumnToDetailTemplate protected property

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

addColumnToListTemplate protected property

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

addColumnToTrackingEmail protected property

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

addColumnWithTagsToListTemplate protected property

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

addHeader protected property

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

chkEnablePaging protected property

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

chkEnableSearch protected property

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

chkEnableSorting protected property

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

chkShowDetailView protected property

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

cmdBack protected property

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

cmdConfirmOverwriteFile protected property

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

cmdDenyOverwriteFile protected property

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

cmdGenerateXslt protected property

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

cmdRebuildContent protected property

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

cmdRebuildDetail protected property

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

cmdRebuildTrackingEmail protected property

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

cmdSaveFile protected property

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

ddlColumnsForDetailView protected property

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

ddlColumnsForListView protected property

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

ddlColumnsForTrackingEmail protected property

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

ddlHeaders protected property

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

ddlListTemplateType protected property

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

dshDetailView protected property

dshDetailView control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.SectionHeadControl dshDetailView
return global::DotNetNuke.UI.UserControls.SectionHeadControl

dshHtml protected property

dshHtml control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.SectionHeadControl dshHtml
return global::DotNetNuke.UI.UserControls.SectionHeadControl

dshListView protected property

dshListView control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.SectionHeadControl dshListView
return global::DotNetNuke.UI.UserControls.SectionHeadControl

dshOptions protected property

dshOptions control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.SectionHeadControl dshOptions
return global::DotNetNuke.UI.UserControls.SectionHeadControl

dshSave protected property

dshSave control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.SectionHeadControl dshSave
return global::DotNetNuke.UI.UserControls.SectionHeadControl

dshTrackingEmail protected property

dshTrackingEmail control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.SectionHeadControl dshTrackingEmail
return global::DotNetNuke.UI.UserControls.SectionHeadControl

dshXslt protected property

dshXslt control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.SectionHeadControl dshXslt
return global::DotNetNuke.UI.UserControls.SectionHeadControl

dvDetailView protected property

dvDetailView control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl dvDetailView
return global::System.Web.UI.HtmlControls.HtmlGenericControl

dvListview protected property

dvListview control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl dvListview
return global::System.Web.UI.HtmlControls.HtmlGenericControl

dvOptions protected property

dvOptions control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl dvOptions
return global::System.Web.UI.HtmlControls.HtmlGenericControl

dvTrackingEmail protected property

dvTrackingEmail control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl dvTrackingEmail
return global::System.Web.UI.HtmlControls.HtmlGenericControl

hlpColumns protected property

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

lblConfirm protected property

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

lblEnablePaging protected property

lblEnablePaging control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl lblEnablePaging
return global::DotNetNuke.UI.UserControls.LabelControl

lblEnableSearch protected property

lblEnableSearch control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl lblEnableSearch
return global::DotNetNuke.UI.UserControls.LabelControl

lblEnableSorting protected property

lblEnableSorting control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl lblEnableSorting
return global::DotNetNuke.UI.UserControls.LabelControl

lblListTemplateFooter protected property

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

lblListTemplateHead protected property

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

lblSaveXslError protected property

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

lblSearchIsObsolete protected property

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

lblShowDetailView protected property

lblShowDetailView control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl lblShowDetailView
return global::DotNetNuke.UI.UserControls.LabelControl

lblTemplateError protected property

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

lblXslScriptError protected property

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

panConfirm protected property

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

plColumns protected property

plColumns control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl plColumns
return global::DotNetNuke.UI.UserControls.LabelControl

plColumns2 protected property

plColumns2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl plColumns2
return global::DotNetNuke.UI.UserControls.LabelControl

plColumns3 protected property

plColumns3 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl plColumns3
return global::DotNetNuke.UI.UserControls.LabelControl

plDelimiter protected property

plDelimiter control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl plDelimiter
return global::DotNetNuke.UI.UserControls.LabelControl

plFileName protected property

plFileName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl plFileName
return global::DotNetNuke.UI.UserControls.LabelControl

plFolderName protected property

plFolderName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl plFolderName
return global::DotNetNuke.UI.UserControls.LabelControl

plHeaderList protected property

plHeaderList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl plHeaderList
return global::DotNetNuke.UI.UserControls.LabelControl

plListType protected property

plListType control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl plListType
return global::DotNetNuke.UI.UserControls.LabelControl

tblHtml protected property

tblHtml control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl tblHtml
return global::System.Web.UI.HtmlControls.HtmlGenericControl

tblSave protected property

tblSave control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlTable tblSave
return global::System.Web.UI.HtmlControls.HtmlTable

tblXslt protected property

tblXslt control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl tblXslt
return global::System.Web.UI.HtmlControls.HtmlGenericControl

txtDetailTemplate protected property

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

txtFileName protected property

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

txtFolderName protected property

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

txtHeaderTemplate protected property

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

txtListTemplate protected property

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

txtListTemplateDelimiter protected property

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

txtTrackingEmailTemplate protected property

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

txtXslScript protected property

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