Show / Hide Table of Contents

Class EditControl

Inheritance
object
Control
WebControl
EditControl
SkinsEditControl
DNNListEditControl
DNNRegionEditControl
DateEditControl
DnnCountryAutocompleteControl
EnumEditControl
IntegerEditControl
TextEditControl
TrueFalseEditControl
VersionEditControl
Implements
IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
IPostBackDataHandler
Inherited Members
WebControl.AddAttributesToRender(HtmlTextWriter)
WebControl.ApplyStyle(Style)
WebControl.CopyBaseAttributes(WebControl)
WebControl.CreateControlStyle()
WebControl.LoadViewState(object)
WebControl.TrackViewState()
WebControl.MergeStyle(Style)
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.TagKey
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.OnInit(EventArgs)
Control.ClearChildState()
Control.ClearChildControlState()
Control.ClearChildViewState()
Control.ClearEffectiveClientIDMode()
Control.ClearCachedClientID()
Control.Focus()
Control.LoadControlState(object)
Control.MapPathSecure(string)
Control.OpenFile(string)
Control.OnLoad(EventArgs)
Control.OnPreRender(EventArgs)
Control.BuildProfileTree(string, bool)
Control.SaveControlState()
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.CreateChildControls()
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.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
[ValidationProperty("Value")]
public abstract class EditControl : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackDataHandler

Constructors

EditControl()

Declaration
protected EditControl()

Properties

Category

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

CustomAttributes

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

DataField

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

EditControlClientId

Declaration
public virtual string EditControlClientId { get; }
Property Value
Type Description
string

EditMode

Declaration
public PropertyEditorMode EditMode { get; set; }
Property Value
Type Description
PropertyEditorMode

IsValid

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

LocalResourceFile

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

Name

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

OldValue

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

Required

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

StringValue

Declaration
protected abstract string StringValue { get; set; }
Property Value
Type Description
string

SystemType

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

User

Declaration
public UserInfo User { get; set; }
Property Value
Type Description
UserInfo

Value

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

Methods

LoadPostData(string, NameValueCollection)

Declaration
public virtual bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters
Type Name Description
string postDataKey
NameValueCollection postCollection
Returns
Type Description
bool

OnAttributesChanged()

Declaration
protected virtual void OnAttributesChanged()

OnDataChanged(EventArgs)

Declaration
protected abstract void OnDataChanged(EventArgs e)
Parameters
Type Name Description
EventArgs e

OnItemAdded(PropertyEditorEventArgs)

Declaration
protected virtual void OnItemAdded(PropertyEditorEventArgs e)
Parameters
Type Name Description
PropertyEditorEventArgs e

OnItemDeleted(PropertyEditorEventArgs)

Declaration
protected virtual void OnItemDeleted(PropertyEditorEventArgs e)
Parameters
Type Name Description
PropertyEditorEventArgs e

OnValueChanged(PropertyEditorEventArgs)

Declaration
protected virtual void OnValueChanged(PropertyEditorEventArgs e)
Parameters
Type Name Description
PropertyEditorEventArgs e

RaisePostDataChangedEvent()

Declaration
public void RaisePostDataChangedEvent()

Render(HtmlTextWriter)

Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer
Overrides
WebControl.Render(HtmlTextWriter)

RenderEditMode(HtmlTextWriter)

Declaration
protected virtual void RenderEditMode(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer

RenderViewMode(HtmlTextWriter)

Declaration
protected virtual void RenderViewMode(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer

Events

ItemAdded

Declaration
public event PropertyChangedEventHandler ItemAdded
Event Type
Type Description
PropertyChangedEventHandler

ItemDeleted

Declaration
public event PropertyChangedEventHandler ItemDeleted
Event Type
Type Description
PropertyChangedEventHandler

ValueChanged

Declaration
public event PropertyChangedEventHandler ValueChanged
Event Type
Type Description
PropertyChangedEventHandler

Implements

IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
IPostBackDataHandler

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS