Class DNNListEditControl
The DNNListEditControl control provides a standard UI component for selecting from Lists.
Implements
Inherited Members
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class DNNListEditControl : EditControl
Constructors
| Improve this Doc View SourceDNNListEditControl()
Initializes a new instance of the DNNListEditControl class.
Declaration
public DNNListEditControl()
Properties
| Improve this Doc View SourceAutoPostBack
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 |
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. |
List
Gets list gets the List associated with the control.
Declaration
protected ListEntryInfoCollection List { get; }
Property Value
Type | Description |
---|---|
ListEntryInfoCollection |
ListEntries
Gets the ListEntryInfo objects associated witht the control.
Declaration
protected IEnumerable<ListEntryInfo> ListEntries { get; }
Property Value
Type | Description |
---|---|
IEnumerable<ListEntryInfo> |
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 |
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. |
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. |
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 |
PortalId
The DNNListEditControl control provides a standard UI component for selecting from Lists.
Declaration
protected int PortalId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 |
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
| Improve this Doc View SourceTextField
Gets or sets the field to display in the combo.
Declaration
protected virtual ListBoundField TextField { get; set; }
Property Value
Type | Description |
---|---|
ListBoundField |
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 SourceOnAttributesChanged()
OnAttributesChanged runs when the CustomAttributes property has changed.
Declaration
protected override void OnAttributesChanged()
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 SourceOnItemChanged(PropertyEditorEventArgs)
OnItemChanged runs when the Item has changed.
Declaration
protected virtual void OnItemChanged(PropertyEditorEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
PropertyEditorEventArgs | e |
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 |
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. |
Overrides
Events
| Improve this Doc View SourceItemChanged
The DNNListEditControl control provides a standard UI component for selecting from Lists.
Declaration
public event PropertyChangedEventHandler ItemChanged
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |