• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DnnFormItemBase

Inheritance
System.Object
DnnFormItemBase
DnnFormEditControlItem
DnnFormListItemBase
DnnFormLiteralItem
DnnFormPasswordItem
DnnFormTemplateItem
DnnFormTextBoxItem
DnnFormToggleButtonItem
Implements
INamingContainer
Namespace: DotNetNuke.Web.UI.WebControls
Assembly: DotNetNuke.Web.dll
Syntax
public abstract class DnnFormItemBase : WebControl

Constructors

| Improve this Doc View Source

DnnFormItemBase()

Declaration
protected DnnFormItemBase()

Properties

| Improve this Doc View Source

ChildProperty

Declaration
protected PropertyInfo ChildProperty { get; }
Property Value
Type Description
PropertyInfo
| Improve this Doc View Source

DataField

Declaration
public string DataField { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DataMember

Declaration
public string DataMember { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FormMode

Declaration
public DnnFormMode FormMode { get; set; }
Property Value
Type Description
DnnFormMode
| Improve this Doc View Source

IsValid

Declaration
public bool IsValid { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LocalResourceFile

Declaration
public string LocalResourceFile { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

OnClientClicked

Declaration
public string OnClientClicked { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PortalSettings

Declaration
protected PortalSettings PortalSettings { get; }
Property Value
Type Description
PortalSettings
| Improve this Doc View Source

Property

Declaration
protected PropertyInfo Property { get; }
Property Value
Type Description
PropertyInfo
| Improve this Doc View Source

Required

Declaration
public bool Required { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

RequiredMessageSuffix

Declaration
public string RequiredMessageSuffix { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ResourceKey

Declaration
public string ResourceKey { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TagKey

Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
Type Description
HtmlTextWriterTag
| Improve this Doc View Source

ValidationExpression

Declaration
public string ValidationExpression { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ValidationMessageSuffix

Declaration
public string ValidationMessageSuffix { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Validators

Declaration
public List<IValidator> Validators { get; }
Property Value
Type Description
List<IValidator>
| Improve this Doc View Source

Value

Declaration
public object Value { get; set; }
Property Value
Type Description
System.Object

Methods

| Improve this Doc View Source

CheckIsValid()

Declaration
public void CheckIsValid()
| Improve this Doc View Source

CreateChildControls()

Declaration
protected override void CreateChildControls()
| Improve this Doc View Source

CreateControlHierarchy()

Declaration
protected virtual void CreateControlHierarchy()
| Improve this Doc View Source

CreateControlInternal(Control)

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

DataBindInternal()

Declaration
protected virtual void DataBindInternal()
| Improve this Doc View Source

DataBindInternal(String, ref Object)

Declaration
protected void DataBindInternal(string dataField, ref object value)
Parameters
Type Name Description
System.String dataField
System.Object value
| Improve this Doc View Source

DataBindItem(Boolean)

Declaration
public void DataBindItem(bool useDataSource)
Parameters
Type Name Description
System.Boolean useDataSource
| Improve this Doc View Source

LoadControlState(Object)

Declaration
protected override void LoadControlState(object state)
Parameters
Type Name Description
System.Object state
| Improve this Doc View Source

LocalizeString(String)

Declaration
protected string LocalizeString(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.String
| Improve this Doc View Source

OnInit(EventArgs)

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
EventArgs e
| Improve this Doc View Source

SaveControlState()

Declaration
protected override object SaveControlState()
Returns
Type Description
System.Object
| Improve this Doc View Source

UpdateDataSource(Object, Object, String)

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

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS