Class PageBase
PageBase provides a custom DotNetNuke base class for pages.
Namespace: DotNetNuke.Framework
Assembly: DotNetNuke.dll
Syntax
public abstract class PageBase : Page
Constructors
| Improve this Doc View SourcePageBase()
Initializes a new instance of the PageBase class. Creates the Page.
Declaration
protected PageBase()
Properties
| Improve this Doc View SourceCanonicalLinkUrl
PageBase provides a custom DotNetNuke base class for pages.
Declaration
public string CanonicalLinkUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HeaderIsWritten
Gets a value indicating whether indicate whether http headers has been sent to client.
Declaration
public bool HeaderIsWritten { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HtmlAttributes
PageBase provides a custom DotNetNuke base class for pages.
Declaration
public NameValueCollection HtmlAttributes { get; }
Property Value
Type | Description |
---|---|
NameValueCollection |
LocalResourceFile
PageBase provides a custom DotNetNuke base class for pages.
Declaration
public string LocalResourceFile { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PageCulture
PageBase provides a custom DotNetNuke base class for pages.
Declaration
public CultureInfo PageCulture { get; }
Property Value
Type | Description |
---|---|
CultureInfo |
PageStatePersister
Gets pageStatePersister returns an instance of the class that will be used to persist the Page State.
Declaration
protected override PageStatePersister PageStatePersister { get; }
Property Value
Type | Description |
---|---|
PageStatePersister | A System.Web.UI.PageStatePersister. |
PortalSettings
PageBase provides a custom DotNetNuke base class for pages.
Declaration
public PortalSettings PortalSettings { get; }
Property Value
Type | Description |
---|---|
PortalSettings |
Methods
| Improve this Doc View SourceOnError(EventArgs)
PageBase provides a custom DotNetNuke base class for pages.
Declaration
protected override void OnError(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnInit(EventArgs)
PageBase provides a custom DotNetNuke base class for pages.
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnPreRender(EventArgs)
PageBase provides a custom DotNetNuke base class for pages.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
RegisterAjaxScript()
PageBase provides a custom DotNetNuke base class for pages.
Declaration
protected virtual void RegisterAjaxScript()
RemoveKeyAttribute(ArrayList)
RemoveKeyAttribute remove the key attribute from the control. If this isn't done, then the HTML output will have a bad attribute on it which could cause some older browsers problems.
Declaration
public static void RemoveKeyAttribute(ArrayList affectedControls)
Parameters
Type | Name | Description |
---|---|---|
ArrayList | affectedControls | ArrayList that hold the controls that have been localized. This is later used for the removal of the key attribute. |
Render(HtmlTextWriter)
PageBase provides a custom DotNetNuke base class for pages.
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
HtmlTextWriter | writer |