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

Class DNNListEditControl

The DNNListEditControl control provides a standard UI component for selecting from Lists.

Inheritance
System.Object
EditControl
DNNListEditControl
DNNCountryEditControl
Implements
IPostBackDataHandler
IPostBackEventHandler
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.OnItemAdded(PropertyEditorEventArgs)
EditControl.OnItemDeleted(PropertyEditorEventArgs)
EditControl.OnValueChanged(PropertyEditorEventArgs)
EditControl.Render(HtmlTextWriter)
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class DNNListEditControl : EditControl

Constructors

| Improve this Doc View Source

DNNListEditControl()

Initializes a new instance of the DNNListEditControl class.

Declaration
public DNNListEditControl()

Properties

| Improve this Doc View Source

AutoPostBack

Gets or sets a value indicating whether determines whether the List Auto Posts Back.

Declaration
protected bool AutoPostBack { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IntegerValue

Gets integerValue returns the Integer representation of the Value.

Declaration
protected int IntegerValue { get; }
Property Value
Type Description
System.Int32

An integer representing the Value.

| Improve this Doc View Source

List

Gets list gets the List associated with the control.

Declaration
protected ListEntryInfoCollection List { get; }
Property Value
Type Description
ListEntryInfoCollection
| Improve this Doc View Source

ListEntries

Gets the ListEntryInfo objects associated witht the control.

Declaration
protected IEnumerable<ListEntryInfo> ListEntries { get; }
Property Value
Type Description
IEnumerable<ListEntryInfo>
| Improve this Doc View Source

ListName

Gets or sets listName is the name of the List to display.

Declaration
protected virtual string ListName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

OldIntegerValue

Gets oldIntegerValue returns the Integer representation of the OldValue.

Declaration
protected int OldIntegerValue { get; }
Property Value
Type Description
System.Int32

An integer representing the OldValue.

| Improve this Doc View Source

OldStringValue

Gets oldStringValue returns the Boolean representation of the OldValue.

Declaration
protected string OldStringValue { get; }
Property Value
Type Description
System.String

A String representing the OldValue.

| Improve this Doc View Source

ParentKey

Gets or sets the parent key of the List to display.

Declaration
protected virtual string ParentKey { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PortalId

The DNNListEditControl control provides a standard UI component for selecting from Lists.

Declaration
protected int PortalId { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SortAlphabetically

Gets or sets a value indicating whether if true the list will be sorted on the value of Text before rendering.

Declaration
protected bool SortAlphabetically { get; set; }
Property Value
Type Description
System.Boolean
| 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
| Improve this Doc View Source

TextField

Gets or sets the field to display in the combo.

Declaration
protected virtual ListBoundField TextField { get; set; }
Property Value
Type Description
ListBoundField
| Improve this Doc View Source

ValueField

Gets or sets the field to use as the combo item values.

Declaration
protected virtual ListBoundField ValueField { get; set; }
Property Value
Type Description
ListBoundField

Methods

| Improve this Doc View Source

OnAttributesChanged()

OnAttributesChanged runs when the CustomAttributes property has changed.

Declaration
protected override void OnAttributesChanged()
Overrides
EditControl.OnAttributesChanged()
| 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

OnItemChanged(PropertyEditorEventArgs)

OnItemChanged runs when the Item has changed.

Declaration
protected virtual void OnItemChanged(PropertyEditorEventArgs e)
Parameters
Type Name Description
PropertyEditorEventArgs e
| Improve this Doc View Source

RaisePostBackEvent(String)

The DNNListEditControl control provides a standard UI component for selecting from Lists.

Declaration
public void RaisePostBackEvent(string eventArgument)
Parameters
Type Name Description
System.String eventArgument
| 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)
| Improve this Doc View Source

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

Events

| Improve this Doc View Source

ItemChanged

The DNNListEditControl control provides a standard UI component for selecting from Lists.

Declaration
public event PropertyChangedEventHandler ItemChanged
Event Type
Type Description
PropertyChangedEventHandler

Implements

IPostBackDataHandler
IPostBackEventHandler

Extension Methods

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