Class DnnMemberListControl
This control is used for displaying a template based list of users based upon various filter and sorting capabilities.
Inheritance
Namespace: DotNetNuke.Web.UI.WebControls
Assembly: DotNetNuke.Web.dll
Syntax
public class DnnMemberListControl : WebControl
Properties
| Improve this Doc View SourceAlternatingItemTemplate
Gets or sets the template for displaying the alternating items in a DnnMemberListControl object.
Declaration
public string AlternatingItemTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
AlternatingRowFooterTemplate
Gets or sets the template for displaying the alternating row footers in a DnnMemberListControl object.
Declaration
public string AlternatingRowFooterTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
AlternatingRowHeaderTemplate
Gets or sets the template for displaying the alternating row headers in a DnnMemberListControl object.
Declaration
public string AlternatingRowHeaderTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Filters
Gets or sets the collection of filters to apply when getting the list of members.
Declaration
public IDictionary<string, string> Filters { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<System.String, System.String> |
Remarks
Posible keys are: RoleId, RelationshipTypeId, UserId, Profile:PropertyName, FirstName, LastName, DisplayName, Username, Email.
FooterTemplate
Gets or sets the template for displaying the footer section of a DnnMemberListControl object.
Declaration
public string FooterTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HeaderTemplate
Gets or sets the template for displaying the header section of a DnnMemberListControl object.
Declaration
public string HeaderTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ItemTemplate
Gets or sets the template for displaying an item in a DnnMemberListControl object.
Declaration
public string ItemTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PageIndex
Gets or sets the index of the currently displayed page.
Declaration
public int PageIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PageSize
Gets or sets the number of records to display on a page in a DnnMemberListControl object.
Declaration
public int PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
RowFooterTemplate
Gets or sets the template for the row footer.
Declaration
public string RowFooterTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RowHeaderTemplate
Gets or sets the template for the row header.
Declaration
public string RowHeaderTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RowSize
Gets or sets the number of items displayed on each row.
Declaration
public int RowSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SortAscending
Gets or sets a value indicating whether gets or sets the sort direction.
Declaration
public bool SortAscending { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
SortBy
Gets or sets the property value to sort by.
Declaration
public string SortBy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceOnInit(EventArgs)
This control is used for displaying a template based list of users based upon various filter and sorting capabilities.
Declaration
protected override void OnInit(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| EventArgs | e |
Render(HtmlTextWriter)
This control is used for displaying a template based list of users based upon various filter and sorting capabilities.
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| HtmlTextWriter | writer |