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

Class PageBase

PageBase provides a custom DotNetNuke base class for pages.

Inheritance
System.Object
PageBase
CDefault
Namespace: DotNetNuke.Framework
Assembly: DotNetNuke.dll
Syntax
public abstract class PageBase : Page

Constructors

| Improve this Doc View Source

PageBase()

Initializes a new instance of the PageBase class. Creates the Page.

Declaration
protected PageBase()

Properties

| Improve this Doc View Source

CanonicalLinkUrl

PageBase provides a custom DotNetNuke base class for pages.

Declaration
public string CanonicalLinkUrl { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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
| Improve this Doc View Source

HtmlAttributes

PageBase provides a custom DotNetNuke base class for pages.

Declaration
public NameValueCollection HtmlAttributes { get; }
Property Value
Type Description
NameValueCollection
| Improve this Doc View Source

LocalResourceFile

PageBase provides a custom DotNetNuke base class for pages.

Declaration
public string LocalResourceFile { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PageCulture

PageBase provides a custom DotNetNuke base class for pages.

Declaration
public CultureInfo PageCulture { get; }
Property Value
Type Description
CultureInfo
| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

OnError(EventArgs)

PageBase provides a custom DotNetNuke base class for pages.

Declaration
protected override void OnError(EventArgs e)
Parameters
Type Name Description
EventArgs e
| Improve this Doc View Source

OnInit(EventArgs)

PageBase provides a custom DotNetNuke base class for pages.

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
EventArgs e
| Improve this Doc View Source

OnPreRender(EventArgs)

PageBase provides a custom DotNetNuke base class for pages.

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
EventArgs e
| Improve this Doc View Source

RegisterAjaxScript()

PageBase provides a custom DotNetNuke base class for pages.

Declaration
protected virtual void RegisterAjaxScript()
| Improve this Doc View Source

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.

| Improve this Doc View Source

Render(HtmlTextWriter)

PageBase provides a custom DotNetNuke base class for pages.

Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer

Extension Methods

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