Show / Hide Table of Contents

Class DnnFormItemBase

Inheritance
object
Control
WebControl
DnnFormItemBase
DnnFormEditControlItem
DnnFormListItemBase
DnnFormLiteralItem
DnnFormPasswordItem
DnnFormTemplateItem
DnnFormTextBoxItem
DnnFormToggleButtonItem
Implements
IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
INamingContainer
Inherited Members
WebControl.AddAttributesToRender(HtmlTextWriter)
WebControl.ApplyStyle(Style)
WebControl.CopyBaseAttributes(WebControl)
WebControl.CreateControlStyle()
WebControl.LoadViewState(object)
WebControl.TrackViewState()
WebControl.MergeStyle(Style)
WebControl.Render(HtmlTextWriter)
WebControl.RenderBeginTag(HtmlTextWriter)
WebControl.RenderEndTag(HtmlTextWriter)
WebControl.RenderContents(HtmlTextWriter)
WebControl.SaveViewState()
WebControl.AccessKey
WebControl.Attributes
WebControl.BackColor
WebControl.BorderColor
WebControl.BorderWidth
WebControl.BorderStyle
WebControl.ControlStyle
WebControl.ControlStyleCreated
WebControl.CssClass
WebControl.DisabledCssClass
WebControl.Style
WebControl.Enabled
WebControl.EnableTheming
WebControl.Font
WebControl.ForeColor
WebControl.HasAttributes
WebControl.Height
WebControl.IsEnabled
WebControl.SupportsDisabledAttribute
WebControl.SkinID
WebControl.TabIndex
WebControl.TagName
WebControl.ToolTip
WebControl.Width
Control.ResolveAdapter()
Control.HasEvents()
Control.GetRouteUrl(object)
Control.GetRouteUrl(string, object)
Control.GetRouteUrl(RouteValueDictionary)
Control.GetRouteUrl(string, RouteValueDictionary)
Control.GetUniqueIDRelativeTo(Control)
Control.ApplyStyleSheetSkin(Page)
Control.OnDataBinding(EventArgs)
Control.DataBind()
Control.DataBind(bool)
Control.DataBindChildren()
Control.AddParsedSubObject(object)
Control.EnsureID()
Control.ClearChildState()
Control.ClearChildControlState()
Control.ClearChildViewState()
Control.ClearEffectiveClientIDMode()
Control.ClearCachedClientID()
Control.Focus()
Control.MapPathSecure(string)
Control.OpenFile(string)
Control.OnLoad(EventArgs)
Control.OnPreRender(EventArgs)
Control.BuildProfileTree(string, bool)
Control.RenderChildren(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter, ControlAdapter)
Control.OnUnload(EventArgs)
Control.Dispose()
Control.RaiseBubbleEvent(object, EventArgs)
Control.OnBubbleEvent(object, EventArgs)
Control.AddedControl(Control, int)
Control.CreateControlCollection()
Control.ResolveUrl(string)
Control.ResolveClientUrl(string)
Control.FindControl(string)
Control.FindControl(string, int)
Control.GetDesignModeState()
Control.HasControls()
Control.IsLiteralContent()
Control.EnsureChildControls()
Control.RemovedControl(Control)
Control.SetDesignModeState(IDictionary)
Control.SetRenderMethodDelegate(RenderMethod)
Control.ClientIDMode
Control.ClientID
Control.ClientIDSeparator
Control.Context
Control.Adapter
Control.DesignMode
Control.Events
Control.ID
Control.IsChildControlStateCleared
Control.EnableViewState
Control.ViewStateMode
Control.IsViewStateEnabled
Control.NamingContainer
Control.IdSeparator
Control.LoadViewStateByID
Control.Page
Control.RenderingCompatibility
Control.TemplateControl
Control.Parent
Control.TemplateSourceDirectory
Control.AppRelativeTemplateSourceDirectory
Control.Site
Control.Visible
Control.UniqueID
Control.HasChildViewState
Control.Controls
Control.ValidateRequestMode
Control.ViewState
Control.ViewStateIgnoresCase
Control.ChildControlsCreated
Control.IsTrackingViewState
Control.Disposed
Control.DataBinding
Control.Init
Control.Load
Control.PreRender
Control.Unload
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Web.UI.WebControls
Assembly: DotNetNuke.Web.dll
Syntax
public abstract class DnnFormItemBase : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, INamingContainer

Constructors

DnnFormItemBase()

Declaration
protected DnnFormItemBase()

Properties

ChildProperty

Declaration
protected PropertyInfo ChildProperty { get; }
Property Value
Type Description
PropertyInfo

DataField

Declaration
public string DataField { get; set; }
Property Value
Type Description
string

DataMember

Declaration
public string DataMember { get; set; }
Property Value
Type Description
string

FormMode

Declaration
public DnnFormMode FormMode { get; set; }
Property Value
Type Description
DnnFormMode

IsValid

Declaration
public bool IsValid { get; }
Property Value
Type Description
bool

LocalResourceFile

Declaration
public string LocalResourceFile { get; set; }
Property Value
Type Description
string

OnClientClicked

Declaration
public string OnClientClicked { get; set; }
Property Value
Type Description
string

PortalSettings

Declaration
protected PortalSettings PortalSettings { get; }
Property Value
Type Description
PortalSettings

Property

Declaration
protected PropertyInfo Property { get; }
Property Value
Type Description
PropertyInfo

Required

Declaration
public bool Required { get; set; }
Property Value
Type Description
bool

RequiredMessageSuffix

Declaration
public string RequiredMessageSuffix { get; set; }
Property Value
Type Description
string

ResourceKey

Declaration
public string ResourceKey { get; set; }
Property Value
Type Description
string

TagKey

Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
Type Description
HtmlTextWriterTag
Overrides
WebControl.TagKey

ValidationExpression

Declaration
public string ValidationExpression { get; set; }
Property Value
Type Description
string

ValidationMessageSuffix

Declaration
public string ValidationMessageSuffix { get; set; }
Property Value
Type Description
string

Validators

Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
public List<IValidator> Validators { get; }
Property Value
Type Description
List<IValidator>

Value

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

Methods

CheckIsValid()

Declaration
public void CheckIsValid()

CreateChildControls()

Declaration
protected override void CreateChildControls()
Overrides
Control.CreateChildControls()

CreateControlHierarchy()

Declaration
protected virtual void CreateControlHierarchy()

CreateControlInternal(Control)

Declaration
protected virtual WebControl CreateControlInternal(Control container)
Parameters
Type Name Description
Control container
Returns
Type Description
WebControl

DataBindInternal()

Declaration
protected virtual void DataBindInternal()

DataBindInternal(string, ref object)

Declaration
protected void DataBindInternal(string dataField, ref object value)
Parameters
Type Name Description
string dataField
object value

DataBindItem(bool)

Declaration
public void DataBindItem(bool useDataSource)
Parameters
Type Name Description
bool useDataSource

LoadControlState(object)

Declaration
protected override void LoadControlState(object state)
Parameters
Type Name Description
object state
Overrides
Control.LoadControlState(object)

LocalizeString(string)

Declaration
protected string LocalizeString(string key)
Parameters
Type Name Description
string key
Returns
Type Description
string

OnInit(EventArgs)

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
Control.OnInit(EventArgs)

SaveControlState()

Declaration
protected override object SaveControlState()
Returns
Type Description
object
Overrides
Control.SaveControlState()

UpdateDataSource(object, object, string)

Declaration
protected void UpdateDataSource(object oldValue, object newValue, string dataField)
Parameters
Type Name Description
object oldValue
object newValue
string dataField

Implements

IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
INamingContainer

Extension Methods

JsonExtensionsWeb.ToJson(object)
WebControlExtensions.AddCssClass(WebControl, string)
WebControlExtensions.RemoveCssClass(WebControl, string)
Back to top by the community, for the community... #DNNCMS