C# Class DotNetNuke.Modules.UserDefinedTable.Controls.Field

ファイルを表示 Open project: DNNCommunity/DNN.FormAndList

Protected Properties

Property Type Description
DefaultLabel LabelControl
FormFieldSettings global::DotNetNuke.Modules.UserDefinedTable.Controls.FieldSettings
InputSettingsLabel LabelControl
ListFieldSettings global::DotNetNuke.Modules.UserDefinedTable.Controls.FieldSettings
MultipleValuesLabel LabelControl
NormalizeFlagLabel LabelControl
OutputSettingsLabel LabelControl
ShowOnEditLabel LabelControl
cboFieldType global::System.Web.UI.WebControls.DropDownList
cboInputSettings global::System.Web.UI.WebControls.DropDownList
chkDisplayOnList global::System.Web.UI.WebControls.CheckBox
chkMultipleValues global::System.Web.UI.WebControls.CheckBox
chkNormalizeFlag global::System.Web.UI.WebControls.CheckBox
chkRequired global::System.Web.UI.WebControls.CheckBox
chkRestrictedFormField global::System.Web.UI.WebControls.CheckBox
chkSearchable global::System.Web.UI.WebControls.CheckBox
chkShowOnEdit global::System.Web.UI.WebControls.CheckBox
cmdCancel global::DotNetNuke.UI.WebControls.CommandButton
cmdUpdate global::DotNetNuke.UI.WebControls.CommandButton
divError global::System.Web.UI.HtmlControls.HtmlGenericControl
divWarning global::System.Web.UI.HtmlControls.HtmlGenericControl
hlpColumns global::System.Web.UI.WebControls.HyperLink
hlpToken global::System.Web.UI.WebControls.HyperLink
imgRequired global::System.Web.UI.WebControls.Image
lblEditStyle global::System.Web.UI.UserControl
lblFieldType global::System.Web.UI.WebControls.Label
lblFormsettings global::System.Web.UI.WebControls.Label
lblHelpText global::System.Web.UI.UserControl
lblListSettings global::System.Web.UI.WebControls.Label
lblSearchable global::System.Web.UI.UserControl
lblType global::System.Web.UI.WebControls.Label
lblValidationMessage global::System.Web.UI.UserControl
lblValidationRule global::System.Web.UI.UserControl
panDefault global::System.Web.UI.HtmlControls.HtmlGenericControl
panEditStyle global::System.Web.UI.HtmlControls.HtmlGenericControl
panHelpText global::System.Web.UI.HtmlControls.HtmlGenericControl
panInputSettings global::System.Web.UI.HtmlControls.HtmlGenericControl
panMultipleValues global::System.Web.UI.HtmlControls.HtmlGenericControl
panNormalizeFlag global::System.Web.UI.HtmlControls.HtmlGenericControl
panOutputSettings global::System.Web.UI.HtmlControls.HtmlGenericControl
panShowOnEdit global::System.Web.UI.HtmlControls.HtmlGenericControl
panValidationMessage global::System.Web.UI.HtmlControls.HtmlGenericControl
panValidationRule global::System.Web.UI.HtmlControls.HtmlGenericControl
rblListType global::System.Web.UI.WebControls.RadioButtonList
txtDefault global::System.Web.UI.WebControls.TextBox
txtEditStyle global::System.Web.UI.WebControls.TextBox
txtFieldTitle global::System.Web.UI.WebControls.TextBox
txtHelpText global::System.Web.UI.WebControls.TextBox
txtInputSettings global::System.Web.UI.WebControls.TextBox
txtOutputSettings global::System.Web.UI.WebControls.TextBox
txtValidationMessage global::System.Web.UI.WebControls.TextBox
txtValidationRule global::System.Web.UI.WebControls.TextBox

Public Methods

Method Description
Bind ( ) : void

Protected Methods

Method Description
CheckCast ( DataType newType ) : void
OnInit ( EventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void
SetHelpLinks ( ) : void
ShowErrorMessage ( string message ) : void
ShowOrHideSettingsByType ( DataType selectedType ) : void
ShowWarning ( string message ) : void
UpdateField ( ) : void
cboFieldType_SelectedIndexChanged ( object sender, EventArgs e ) : void
cmdCancel_Click ( object sender, EventArgs e ) : void
cmdUpdate_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
GetFieldTitle ( ) : string
GetInputSettings ( ) : string
IsAllowedFieldTitle ( string title ) : bool
IsNewField ( int id ) : bool
IsUniqueFieldTitle ( string fieldTitle, string oldfieldtitle ) : bool

Method Details

Bind() public method

public Bind ( ) : void
return void

CheckCast() protected method

protected CheckCast ( DataType newType ) : void
newType DataType
return void

OnInit() protected method

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

Page_Load() protected method

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

SetHelpLinks() protected method

protected SetHelpLinks ( ) : void
return void

ShowErrorMessage() protected method

protected ShowErrorMessage ( string message ) : void
message string
return void

ShowOrHideSettingsByType() protected method

protected ShowOrHideSettingsByType ( DataType selectedType ) : void
selectedType DataType
return void

ShowWarning() protected method

protected ShowWarning ( string message ) : void
message string
return void

UpdateField() protected method

protected UpdateField ( ) : void
return void

cboFieldType_SelectedIndexChanged() protected method

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

cmdCancel_Click() protected method

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

cmdUpdate_Click() protected method

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

Property Details

DefaultLabel protected_oe property

protected LabelControl DefaultLabel
return LabelControl

FormFieldSettings protected_oe property

FormFieldSettings control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.Modules.UserDefinedTable.Controls.FieldSettings FormFieldSettings
return global::DotNetNuke.Modules.UserDefinedTable.Controls.FieldSettings

InputSettingsLabel protected_oe property

protected LabelControl InputSettingsLabel
return LabelControl

ListFieldSettings protected_oe property

ListFieldSettings control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.Modules.UserDefinedTable.Controls.FieldSettings ListFieldSettings
return global::DotNetNuke.Modules.UserDefinedTable.Controls.FieldSettings

MultipleValuesLabel protected_oe property

protected LabelControl MultipleValuesLabel
return LabelControl

NormalizeFlagLabel protected_oe property

protected LabelControl NormalizeFlagLabel
return LabelControl

OutputSettingsLabel protected_oe property

protected LabelControl OutputSettingsLabel
return LabelControl

ShowOnEditLabel protected_oe property

protected LabelControl ShowOnEditLabel
return LabelControl

cboFieldType protected_oe property

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

cboInputSettings protected_oe property

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

chkDisplayOnList protected_oe property

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

chkMultipleValues protected_oe property

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

chkNormalizeFlag protected_oe property

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

chkRequired protected_oe property

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

chkRestrictedFormField protected_oe property

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

chkSearchable protected_oe property

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

chkShowOnEdit protected_oe property

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

cmdCancel protected_oe property

cmdCancel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.WebControls.CommandButton cmdCancel
return global::DotNetNuke.UI.WebControls.CommandButton

cmdUpdate protected_oe property

cmdUpdate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.WebControls.CommandButton cmdUpdate
return global::DotNetNuke.UI.WebControls.CommandButton

divError protected_oe property

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

divWarning protected_oe property

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

hlpColumns protected_oe 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

hlpToken protected_oe property

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

imgRequired protected_oe property

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

lblEditStyle protected_oe property

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

lblFieldType protected_oe property

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

lblFormsettings protected_oe property

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

lblHelpText protected_oe property

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

lblListSettings protected_oe property

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

lblSearchable protected_oe property

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

lblType protected_oe property

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

lblValidationMessage protected_oe property

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

lblValidationRule protected_oe property

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

panDefault protected_oe property

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

panEditStyle protected_oe property

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

panHelpText protected_oe property

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

panInputSettings protected_oe property

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

panMultipleValues protected_oe property

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

panNormalizeFlag protected_oe property

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

panOutputSettings protected_oe property

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

panShowOnEdit protected_oe property

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

panValidationMessage protected_oe property

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

panValidationRule protected_oe property

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

rblListType protected_oe property

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

txtDefault protected_oe property

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

txtEditStyle protected_oe property

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

txtFieldTitle protected_oe property

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

txtHelpText protected_oe property

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

txtInputSettings protected_oe property

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

txtOutputSettings protected_oe property

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

txtValidationMessage protected_oe property

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

txtValidationRule protected_oe property

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