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

Class CollectionEditorControl

The CollectionEditorControl control provides a Control to display Collection Properties.

Inheritance
System.Object
PropertyEditorControl
CollectionEditorControl
ProfileEditorControl
Implements
INamingContainer
Inherited Members
PropertyEditorControl.ItemAdded
PropertyEditorControl.ItemCreated
PropertyEditorControl.ItemDeleted
PropertyEditorControl.IsDirty
PropertyEditorControl.IsValid
PropertyEditorControl.AutoGenerate
PropertyEditorControl.DataSource
PropertyEditorControl.EditMode
PropertyEditorControl.DisplayMode
PropertyEditorControl.EnableClientValidation
PropertyEditorControl.GroupByMode
PropertyEditorControl.Groups
PropertyEditorControl.HelpDisplayMode
PropertyEditorControl.LabelMode
PropertyEditorControl.LocalResourceFile
PropertyEditorControl.RequiredUrl
PropertyEditorControl.ShowRequired
PropertyEditorControl.ShowVisibility
PropertyEditorControl.SortMode
PropertyEditorControl.User
PropertyEditorControl.Fields
PropertyEditorControl.EditControlStyle
PropertyEditorControl.EditControlWidth
PropertyEditorControl.ErrorStyle
PropertyEditorControl.GroupHeaderStyle
PropertyEditorControl.GroupHeaderIncludeRule
PropertyEditorControl.HelpStyle
PropertyEditorControl.ItemStyle
PropertyEditorControl.LabelStyle
PropertyEditorControl.LabelWidth
PropertyEditorControl.VisibilityStyle
PropertyEditorControl.TagKey
PropertyEditorControl.DataBind()
PropertyEditorControl.AddEditorRow(Table, String, IEditorInfoAdapter)
PropertyEditorControl.AddEditorRow(WebControl, String, IEditorInfoAdapter)
PropertyEditorControl.AddFields()
PropertyEditorControl.AddFields(Table)
PropertyEditorControl.AddHeader(Table, String)
PropertyEditorControl.CreateEditor()
PropertyEditorControl.OnItemAdded(PropertyEditorEventArgs)
PropertyEditorControl.OnItemCreated(PropertyEditorItemEventArgs)
PropertyEditorControl.OnItemDeleted(PropertyEditorEventArgs)
PropertyEditorControl.OnPreRender(EventArgs)
PropertyEditorControl.CollectionItemAdded(Object, PropertyEditorEventArgs)
PropertyEditorControl.CollectionItemDeleted(Object, PropertyEditorEventArgs)
PropertyEditorControl.EditorItemCreated(Object, PropertyEditorItemEventArgs)
PropertyEditorControl.ListItemChanged(Object, PropertyEditorEventArgs)
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class CollectionEditorControl : PropertyEditorControl

Properties

| Improve this Doc View Source

CategoryDataField

Gets or sets the value of the Category.

Declaration
public string CategoryDataField { get; set; }
Property Value
Type Description
System.String

A string representing the Category of the Field.

| Improve this Doc View Source

EditorDataField

Gets or sets the value of the Editor Type to use.

Declaration
public string EditorDataField { get; set; }
Property Value
Type Description
System.String

A string representing the Editor Type of the Field.

| Improve this Doc View Source

LengthDataField

Gets or sets the value of the Field that determines the length.

Declaration
public string LengthDataField { get; set; }
Property Value
Type Description
System.String

A string representing the Name of the Field.

| Improve this Doc View Source

NameDataField

Gets or sets the value of the Field that is bound to the Label.

Declaration
public string NameDataField { get; set; }
Property Value
Type Description
System.String

A string representing the Name of the Field.

| Improve this Doc View Source

RequiredDataField

Gets or sets the value of the Field that determines whether an item is required.

Declaration
public string RequiredDataField { get; set; }
Property Value
Type Description
System.String

A string representing the Name of the Field.

| Improve this Doc View Source

TypeDataField

Gets or sets the value of the Field that is bound to the EditControl.

Declaration
public string TypeDataField { get; set; }
Property Value
Type Description
System.String

A string representing the Name of the Field.

| Improve this Doc View Source

UnderlyingDataSource

Gets the Underlying DataSource.

Declaration
protected override IEnumerable UnderlyingDataSource { get; }
Property Value
Type Description
IEnumerable

An IEnumerable.

Overrides
PropertyEditorControl.UnderlyingDataSource
| Improve this Doc View Source

ValidationExpressionDataField

Gets or sets and sets the value of the Field that is bound to the EditControl's Expression DynamicContentValidator.

Declaration
public string ValidationExpressionDataField { get; set; }
Property Value
Type Description
System.String

A string representing the Name of the Field.

| Improve this Doc View Source

ValueDataField

Gets or sets the value of the Field that is bound to the EditControl.

Declaration
public string ValueDataField { get; set; }
Property Value
Type Description
System.String

A string representing the Name of the Field.

| Improve this Doc View Source

VisibilityDataField

Gets or sets the value of the Field that determines the visibility.

Declaration
public string VisibilityDataField { get; set; }
Property Value
Type Description
System.String

A string representing the Name of the Field.

| Improve this Doc View Source

VisibleDataField

Gets or sets the value of the Field that determines whether the control is visible.

Declaration
public string VisibleDataField { get; set; }
Property Value
Type Description
System.String

A string representing the Name of the Field.

Methods

| Improve this Doc View Source

AddEditorRow(Panel, Object)

The CollectionEditorControl control provides a Control to display Collection Properties.

Declaration
protected override void AddEditorRow(Panel container, object obj)
Parameters
Type Name Description
Panel container
System.Object obj
Overrides
PropertyEditorControl.AddEditorRow(Panel, Object)
| Improve this Doc View Source

AddEditorRow(Object)

The CollectionEditorControl control provides a Control to display Collection Properties.

Declaration
protected override void AddEditorRow(object obj)
Parameters
Type Name Description
System.Object obj
Overrides
PropertyEditorControl.AddEditorRow(Object)
| Improve this Doc View Source

AddEditorRow(Table, Object)

AddEditorRow builds a sigle editor row and adds it to the Table.

Declaration
protected override void AddEditorRow(Table table, object obj)
Parameters
Type Name Description
Table table

The Table Control to add the row to.

System.Object obj

Row Data Info.

Overrides
PropertyEditorControl.AddEditorRow(Table, Object)
Remarks

This method is protected so that classes that inherit from PropertyEditor can modify how the Row is displayed.

| Improve this Doc View Source

GetCategory(Object)

GetCategory gets the Category of an object.

Declaration
protected override string GetCategory(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.String

The category name or NullString.

Overrides
PropertyEditorControl.GetCategory(Object)
| Improve this Doc View Source

GetGroups(IEnumerable)

GetGroups gets an array of Groups/Categories from the DataSource.

Declaration
protected override string[] GetGroups(IEnumerable arrObjects)
Parameters
Type Name Description
IEnumerable arrObjects
Returns
Type Description
System.String[]

An array of group/category names.

Overrides
PropertyEditorControl.GetGroups(IEnumerable)
| Improve this Doc View Source

GetRowVisibility(Object)

GetRowVisibility determines the Visibility of a row in the table.

Declaration
protected override bool GetRowVisibility(object obj)
Parameters
Type Name Description
System.Object obj

The property.

Returns
Type Description
System.Boolean

true if the row is visible, otherwise false.

Overrides
PropertyEditorControl.GetRowVisibility(Object)

Implements

INamingContainer

Extension Methods

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