Class RolesSelectionGrid
Inheritance
System.Object
RolesSelectionGrid
Implements
INamingContainer
Assembly: DotNetNuke.dll
Syntax
public class RolesSelectionGrid : Control
Properties
|
Improve this Doc
View Source
AlternatingItemStyle
Declaration
public TableItemStyle AlternatingItemStyle { get; }
Property Value
Type |
Description |
TableItemStyle |
|
|
Improve this Doc
View Source
AutoGenerateColumns
Declaration
public bool AutoGenerateColumns { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CellSpacing
Declaration
public int CellSpacing { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Columns
Declaration
public DataGridColumnCollection Columns { get; }
Property Value
Type |
Description |
DataGridColumnCollection |
|
|
Improve this Doc
View Source
Declaration
public TableItemStyle FooterStyle { get; }
Property Value
Type |
Description |
TableItemStyle |
|
|
Improve this Doc
View Source
GridLines
Declaration
public GridLines GridLines { get; set; }
Property Value
Type |
Description |
GridLines |
|
|
Improve this Doc
View Source
Declaration
public TableItemStyle HeaderStyle { get; }
Property Value
Type |
Description |
TableItemStyle |
|
|
Improve this Doc
View Source
Items
Declaration
public DataGridItemCollection Items { get; }
Property Value
Type |
Description |
DataGridItemCollection |
|
|
Improve this Doc
View Source
ItemStyle
Declaration
public TableItemStyle ItemStyle { get; }
Property Value
Type |
Description |
TableItemStyle |
|
|
Improve this Doc
View Source
ResourceFile
Gets or sets the ResourceFile to localize permissions.
Declaration
public string ResourceFile { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SelectedItemStyle
Declaration
public TableItemStyle SelectedItemStyle { get; }
Property Value
Type |
Description |
TableItemStyle |
|
|
Improve this Doc
View Source
SelectedRoleNames
Gets or sets list of the Names of the selected Roles.
Declaration
public ArrayList SelectedRoleNames { get; set; }
Property Value
Type |
Description |
ArrayList |
|
|
Improve this Doc
View Source
ShowAllUsers
Gets or sets a value indicating whether enable ShowAllUsers to display the virtuell "All Users" role.
Declaration
public bool ShowAllUsers { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ShowUnauthenticatedUsers
Gets or sets a value indicating whether enable ShowAllUsers to display the virtuell "Unauthenticated Users" role.
Declaration
public bool ShowUnauthenticatedUsers { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
CreateChildControls()
Creates the Child Controls.
Declaration
protected override void CreateChildControls()
|
Improve this Doc
View Source
LoadViewState(Object)
Declaration
protected override void LoadViewState(object savedState)
Parameters
Type |
Name |
Description |
System.Object |
savedState |
The saved state.
|
|
Improve this Doc
View Source
OnPreRender(EventArgs)
Overrides the base OnPreRender method to Bind the Grid to the Permissions.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type |
Name |
Description |
EventArgs |
e |
|
|
Improve this Doc
View Source
SaveViewState()
Declaration
protected override object SaveViewState()
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
UpdateRoleSelections()
Declaration
protected void UpdateRoleSelections()
|
Improve this Doc
View Source
UpdateSelection(String, Boolean)
Declaration
protected virtual void UpdateSelection(string roleName, bool selected)
Parameters
Type |
Name |
Description |
System.String |
roleName |
The name of the role.
|
System.Boolean |
selected |
|
|
Improve this Doc
View Source
UpdateSelections()
Declaration
protected void UpdateSelections()
Implements
INamingContainer
Extension Methods