Class VersionEditControl
The VersionEditControl control provides a standard UI component for editing System.Version properties.
Implements
Inherited Members
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class VersionEditControl : EditControl
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
| Improve this Doc View SourceVersion
The VersionEditControl control provides a standard UI component for editing System.Version properties.
Declaration
protected Version Version { get; }
Property Value
Type | Description |
---|---|
Version |
Methods
| Improve this Doc View SourceLoadPostData(String, NameValueCollection)
LoadPostData loads the Post Back Data and determines whether the value has change.
Declaration
public override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters
Type | Name | Description |
---|---|---|
System.String | postDataKey | A key to the PostBack Data to load. |
NameValueCollection | postCollection | A name value collection of postback data. |
Returns
Type | Description |
---|---|
System.Boolean | true if the value has changed, otherwise false. |
Overrides
| 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 SourceOnPreRender(EventArgs)
OnPreRender runs just before the control is rendered. It forces a postback to the Control.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
RenderDropDownList(HtmlTextWriter, String, Int32)
The VersionEditControl control provides a standard UI component for editing System.Version properties.
Declaration
protected void RenderDropDownList(HtmlTextWriter writer, string type, int val)
Parameters
Type | Name | Description |
---|---|---|
HtmlTextWriter | writer | |
System.String | type | |
System.Int32 | val |
RenderEditMode(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. |