Class BaseUserControl
Inheritance
System.Object
BaseUserControl
Implements
Namespace: Mediachase.Web.Console.BaseClasses
Assembly: Mediachase.WebConsoleLib.dll
Version: 10.8.0Syntax
public class BaseUserControl : UserControl, IDynamicParamControl
Constructors
BaseUserControl()
Declaration
public BaseUserControl()
Properties
AppId
Gets or sets the app id.
Declaration
public string AppId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The app id. |
ClassName
Gets or sets the name of the class.
Declaration
public string ClassName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the class. |
IsPostBack
Gets a value indicating whether the user control is being loaded in response to a client postback, or if it is being loaded and accessed for the first time.
Declaration
public bool IsPostBack { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Parameters
Gets or sets the parameters.
Declaration
public NameValueCollection Parameters { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Specialized.NameValueCollection | The parameters. |
RM
Gets the RM.
Declaration
public ConsoleResourceManager RM { get; }
Property Value
Type | Description |
---|---|
ConsoleResourceManager | The RM. |
ViewId
Gets or sets the view id.
Declaration
public string ViewId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The view id. |
Methods
DisplayErrorMessage(String)
Displays the error message.
Declaration
protected void DisplayErrorMessage(string msg)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg | The MSG. |
GetAdminView()
Gets the admin view.
Declaration
public AdminView GetAdminView()
Returns
Type | Description |
---|---|
AdminView |
OnInit(EventArgs)
Raises the System.Web.UI.Control.Init event.
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs object that contains the event data. |
ValidatePermission(Func<Permissions, PermissionType>)
Declaration
protected virtual void ValidatePermission(Func<Permissions, PermissionType> permission)
Parameters
Type | Name | Description |
---|---|---|
System.Func<Permissions, EPiServer.Security.PermissionType> | permission |
ValidatePermissions(AdminView)
Declaration
protected virtual void ValidatePermissions(AdminView view)
Parameters
Type | Name | Description |
---|---|---|
AdminView | view |