Class DnnFormItemBase
Inheritance
System.Object
DnnFormItemBase
Implements
INamingContainer
Assembly: DotNetNuke.Web.dll
public abstract class DnnFormItemBase : WebControl
Constructors
|
Improve this Doc
View Source
Declaration
protected DnnFormItemBase()
Properties
|
Improve this Doc
View Source
Declaration
protected PropertyInfo ChildProperty { get; }
Property Value
| Type |
Description |
| PropertyInfo |
|
|
Improve this Doc
View Source
Declaration
public string DataField { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public string DataMember { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public DnnFormMode FormMode { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool IsValid { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public string LocalResourceFile { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public string OnClientClicked { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
protected PortalSettings PortalSettings { get; }
Property Value
| Type |
Description |
| PortalSettings |
|
|
Improve this Doc
View Source
Declaration
protected PropertyInfo Property { get; }
Property Value
| Type |
Description |
| PropertyInfo |
|
|
Improve this Doc
View Source
Declaration
public bool Required { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public string RequiredMessageSuffix { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public string ResourceKey { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
| Type |
Description |
| HtmlTextWriterTag |
|
|
Improve this Doc
View Source
Declaration
public string ValidationExpression { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public string ValidationMessageSuffix { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public List<IValidator> Validators { get; }
Property Value
| Type |
Description |
| List<IValidator> |
|
|
Improve this Doc
View Source
Declaration
public object Value { get; set; }
Property Value
| Type |
Description |
| System.Object |
|
Methods
|
Improve this Doc
View Source
Declaration
public void CheckIsValid()
|
Improve this Doc
View Source
Declaration
protected override void CreateChildControls()
|
Improve this Doc
View Source
Declaration
protected virtual void CreateControlHierarchy()
|
Improve this Doc
View Source
Use container to add custom control hierarchy to.
Declaration
protected virtual WebControl CreateControlInternal(Control container)
Parameters
| Type |
Name |
Description |
| Control |
container |
|
Returns
| Type |
Description |
| WebControl |
An "input" control that can be used for attaching validators.
|
|
Improve this Doc
View Source
Declaration
protected virtual void DataBindInternal()
|
Improve this Doc
View Source
Declaration
protected void DataBindInternal(string dataField, ref object value)
Parameters
| Type |
Name |
Description |
| System.String |
dataField |
|
| System.Object |
value |
|
|
Improve this Doc
View Source
Declaration
public void DataBindItem(bool useDataSource)
Parameters
| Type |
Name |
Description |
| System.Boolean |
useDataSource |
|
|
Improve this Doc
View Source
Declaration
protected override void LoadControlState(object state)
Parameters
| Type |
Name |
Description |
| System.Object |
state |
|
|
Improve this Doc
View Source
Declaration
protected string LocalizeString(string key)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
protected override void OnInit(EventArgs e)
Parameters
| Type |
Name |
Description |
| EventArgs |
e |
|
|
Improve this Doc
View Source
Declaration
protected override object SaveControlState()
Returns
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
Declaration
protected void UpdateDataSource(object oldValue, object newValue, string dataField)
Parameters
| Type |
Name |
Description |
| System.Object |
oldValue |
|
| System.Object |
newValue |
|
| System.String |
dataField |
|
Implements
INamingContainer
Extension Methods