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

Show file 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 property

protected LabelControl DefaultLabel
return LabelControl

FormFieldSettings protected 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 property

protected LabelControl InputSettingsLabel
return LabelControl

ListFieldSettings protected 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 property

protected LabelControl MultipleValuesLabel
return LabelControl

NormalizeFlagLabel protected property

protected LabelControl NormalizeFlagLabel
return LabelControl

OutputSettingsLabel protected property

protected LabelControl OutputSettingsLabel
return LabelControl

ShowOnEditLabel protected property

protected LabelControl ShowOnEditLabel
return LabelControl

cboFieldType protected 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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