Class EnumEditControl
The EnumEditControl control provides a standard UI component for editing enumerated properties.
Implements
IPostBackDataHandler
Inherited Members
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class EnumEditControl : EditControl
Constructors
| Improve this Doc View SourceEnumEditControl()
Initializes a new instance of the EnumEditControl class. Constructs an EnumEditControl.
Declaration
public EnumEditControl()
EnumEditControl(String)
Initializes a new instance of the EnumEditControl class. Constructs an EnumEditControl.
Declaration
public EnumEditControl(string type)
Parameters
Type | Name | Description |
---|---|---|
System.String | type |
Properties
| Improve this Doc View SourceStringValue
Gets or sets stringValue is the value of the control expressed as a String.
Declaration
protected override string StringValue { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Value. |
Overrides
Methods
| Improve this Doc View SourceOnDataChanged(EventArgs)
OnDataChanged runs when the PostbackData has changed. It raises the ValueChanged Event.
Declaration
protected override void OnDataChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
Overrides
| Improve this Doc View SourceRenderEditMode(HtmlTextWriter)
RenderEditMode renders the Edit mode of the control.
Declaration
protected override void RenderEditMode(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
HtmlTextWriter | writer | A HtmlTextWriter. |
Overrides
| Improve this Doc View SourceRenderViewMode(HtmlTextWriter)
RenderViewMode renders the View (readonly) mode of the control.
Declaration
protected override void RenderViewMode(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
HtmlTextWriter | writer | A HtmlTextWriter. |
Overrides
Implements
IPostBackDataHandler