C# Class DotNetNuke.Modules.UserDefinedTable.EditControl

Abstraced (MustInherit) EditControl Defines the Interface and provides some Default Settings Concrete Classes provides the UI to edit and validate data
Inheritance: System.Web.UI.Control
显示文件 Open project: DNNCommunity/DNN.FormAndList

Public Methods

Method Description
GetFieldSetting ( string key ) : string
Initialise ( string fieldTitle, string fieldType, int fieldId, int moduleId, string controlHelpText, string defaultValue, bool required, string validationRule, string validationMsg, string editStyle, string inputSettings, string outputSettings, bool normalizeFlag, bool multipleValuesFlag, bool inputFilterTags, bool inputFilterScript, InputType inputSettingsListType, DotNetNuke.UI.Modules.ModuleInstanceContext moduleContext ) : void
Initialise ( string fieldTitle, string fieldType, int fieldId, int moduleId, string controlHelpText, string defaultValue, bool required, string validationRule, string validationMsg, string editStyle, string inputSettings, string outputSettings, bool normalizeFlag, bool multipleValuesFlag, bool inputFilterTags, bool inputFilterScript, InputType inputSettingsListType, DotNetNuke.UI.Modules.ModuleInstanceContext moduleContext, DataTable fieldSettingsTable, IFormEvents formEvents ) : void
IsValid ( ) : bool

Protected Methods

Method Description
AddListItems ( ListControl control ) : void
ApplyScriptFilter ( string input ) : string
CleanID ( string name ) : string
GetListControl ( ) : ListControl
IsNull ( ) : bool
IsValidType ( ) : bool
ServerTime ( string value ) : System.DateTime

Private Methods

Method Description
IsValidCustom ( ) : bool

Method Details

AddListItems() protected method

protected AddListItems ( ListControl control ) : void
control System.Web.UI.WebControls.ListControl
return void

ApplyScriptFilter() protected static method

protected static ApplyScriptFilter ( string input ) : string
input string
return string

CleanID() protected static method

protected static CleanID ( string name ) : string
name string
return string

GetFieldSetting() public method

public GetFieldSetting ( string key ) : string
key string
return string

GetListControl() protected method

protected GetListControl ( ) : ListControl
return System.Web.UI.WebControls.ListControl

Initialise() public method

public Initialise ( string fieldTitle, string fieldType, int fieldId, int moduleId, string controlHelpText, string defaultValue, bool required, string validationRule, string validationMsg, string editStyle, string inputSettings, string outputSettings, bool normalizeFlag, bool multipleValuesFlag, bool inputFilterTags, bool inputFilterScript, InputType inputSettingsListType, DotNetNuke.UI.Modules.ModuleInstanceContext moduleContext ) : void
fieldTitle string
fieldType string
fieldId int
moduleId int
controlHelpText string
defaultValue string
required bool
validationRule string
validationMsg string
editStyle string
inputSettings string
outputSettings string
normalizeFlag bool
multipleValuesFlag bool
inputFilterTags bool
inputFilterScript bool
inputSettingsListType InputType
moduleContext DotNetNuke.UI.Modules.ModuleInstanceContext
return void

Initialise() public method

public Initialise ( string fieldTitle, string fieldType, int fieldId, int moduleId, string controlHelpText, string defaultValue, bool required, string validationRule, string validationMsg, string editStyle, string inputSettings, string outputSettings, bool normalizeFlag, bool multipleValuesFlag, bool inputFilterTags, bool inputFilterScript, InputType inputSettingsListType, DotNetNuke.UI.Modules.ModuleInstanceContext moduleContext, DataTable fieldSettingsTable, IFormEvents formEvents ) : void
fieldTitle string
fieldType string
fieldId int
moduleId int
controlHelpText string
defaultValue string
required bool
validationRule string
validationMsg string
editStyle string
inputSettings string
outputSettings string
normalizeFlag bool
multipleValuesFlag bool
inputFilterTags bool
inputFilterScript bool
inputSettingsListType InputType
moduleContext DotNetNuke.UI.Modules.ModuleInstanceContext
fieldSettingsTable System.Data.DataTable
formEvents IFormEvents
return void

IsNull() protected method

protected IsNull ( ) : bool
return bool

IsValid() public method

public IsValid ( ) : bool
return bool

IsValidType() protected method

protected IsValidType ( ) : bool
return bool

ServerTime() protected method

protected ServerTime ( string value ) : System.DateTime
value string
return System.DateTime