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

Class TrueFalseEditControl

The TrueFalseEditControl control provides a standard UI component for editing true/false (boolean) properties.

Inheritance
System.Object
EditControl
TrueFalseEditControl
CheckEditControl
Implements
IPostBackDataHandler
Inherited Members
EditControl.ItemAdded
EditControl.ItemDeleted
EditControl.ValueChanged
EditControl.IsValid
EditControl.EditControlClientId
EditControl.CustomAttributes
EditControl.EditMode
EditControl.LocalResourceFile
EditControl.Name
EditControl.Category
EditControl.OldValue
EditControl.Required
EditControl.SystemType
EditControl.Value
EditControl.DataField
EditControl.User
EditControl.LoadPostData(String, NameValueCollection)
EditControl.RaisePostDataChangedEvent()
EditControl.OnAttributesChanged()
EditControl.OnItemAdded(PropertyEditorEventArgs)
EditControl.OnItemDeleted(PropertyEditorEventArgs)
EditControl.OnValueChanged(PropertyEditorEventArgs)
EditControl.RenderViewMode(HtmlTextWriter)
EditControl.Render(HtmlTextWriter)
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class TrueFalseEditControl : EditControl

Constructors

| Improve this Doc View Source

TrueFalseEditControl()

Initializes a new instance of the TrueFalseEditControl class. Constructs a TrueFalseEditControl.

Declaration
public TrueFalseEditControl()

Properties

| Improve this Doc View Source

BooleanValue

Gets a value indicating whether booleanValue returns the Boolean representation of the Value.

Declaration
protected bool BooleanValue { get; }
Property Value
Type Description
System.Boolean

A Boolean representing the Value.

| Improve this Doc View Source

OldBooleanValue

Gets a value indicating whether oldBooleanValue returns the Boolean representation of the OldValue.

Declaration
protected bool OldBooleanValue { get; }
Property Value
Type Description
System.Boolean

A Boolean representing the OldValue.

| Improve this Doc View Source

StringValue

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
EditControl.StringValue

Methods

| Improve this Doc View Source

OnDataChanged(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
EditControl.OnDataChanged(EventArgs)
| Improve this Doc View Source

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
EditControl.RenderEditMode(HtmlTextWriter)

Implements

IPostBackDataHandler

Extension Methods

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