• DXC Service
  • Products
    • Episerver CMS
    • Episerver Commerce
    • Episerver Campaign
    • Episerver Find
    • Episerver Personalization
      • Advance
      • Perform
      • Insight
      • Reach
      • Personalized Find
    • Episerver Social API
    • Episerver apps & integrations
    • Ektron CMS
  • Documentation
    • Get started
      • DXC Service
      • CMS
      • Commerce
      • Campaign
      • Find
      • Personalization
      • Insight
      • Social API
      • Service API
    • Developer guides
      • DXC Service
      • CMS
      • Commerce
      • Campaign
      • Find
      • Advance
      • Perform
      • Reach
      • Personalized Find
      • Insight
      • Tracking
      • Profile Store
      • Content Delivery API
      • Social API
      • Service API
      • Forms
      • MA connectors
    • UI feature list
    • Technical overview
    • System requirements
    • Installation
    • User guide
    • APIs and libraries
      • CMS
      • Commerce
      • Campaign
      • Find
      • Social
      • REST APIs
    • Video tutorials
    • Releases
    • Upgrading
      • CMS
      • Commerce
      • Find
      • Forms
      • Service API
      • Personalization
  • Blogs
  • Forum
  • Support
  • EMVPs
  • Register
  • Log in
All Content Documentation Forum User Guide Support Help Center Blogs Articles Releases Bug List SDK Documents
People
Home / Documentation /
  • Framework reference
  • EPiServer.Shell.Web.UI
  • MasterPageBase
    • MasterPageBase Methods
    • MasterPageBase Properties

MasterPageBase Class

Assembly: EPiServer.Shell (in EPiServer.Shell.dll) Version: 8.0.0

Syntax:

C#
public abstract class MasterPageBase : MasterPage

A master page base class mimicking ViewMasterPage. If the master page is used on an ViewPage that page is used as context, otherwise the ViewPage context is mocked.

Methods

Name Summary Status
ApplyEditAttributes(Control, String) Applies the attributes needed to make the content of this control editable. public, static
ApplyEditAttributes(TContentData)(Control, Expression(Func(TContentData, Object))) Applies the attributes needed to make the content of this control editable. public, static
FindControl(T)(Control) Finds the first control of the requested type. public, static
FindControl(T)(Control, Int32) Finds control number n of the requested type. public, static
FindControl(T)(Control, String) Finds the first control of the requested type and the requested id. public, static
FindControl(T)(Control, String, Int32) Finds control number n of the requested type that has a specific id. public, static
GetIdentity Extracts the identity from the object if it has one. public, static
GetOriginalType Gets the Type of the current object, ensuring that the eventual type that could be generated by a proxy interceptor is ignored. public, static
MasterPageBase Constructor protected
SetIdentity Sets the identity into the object if supported public, static
ToPropertyBag(Object) Create a PropertyBag instance and populates it with its properties The algorith for extracting properties is as follows: 1) Property must a have a getter and setter 2a) Getter must be public OR 2b) The class must be marked either with the DataContractAttribute or EPiServerDataContractAttribute and the property must be marked either with the DataMemberAttribute or EPiServerDataMemberAttribute public, static
ToPropertyBag(Object, IEnumerable(String)) Create a PropertyBag instance and populates it with its properties public, static

Properties

Name Summary Status
Ajax Gets the ajax helper from the view page. public
Html Gets the html helper from the view page. public
Model Gets the model from the view data. public
TempData Gets the temp data from the view page. public
Url Gets the Url from the view page. public
ViewContext Gets the view context from the view page. public
ViewData Gets the view data from the view page. public
Writer Gets the html writer from the view page. public

Inheritance

  • System.Object
  • System.Web.UI.Control
  • System.Web.UI.TemplateControl
  • System.Web.UI.UserControl
  • System.Web.UI.MasterPage
  • EPiServer.Shell.Web.UI.MasterPageBase

About Episerver

  • episerver.com
  • Episerver certification
  • Job openings
  • License center
  • Privacy statement

Community

  • Blogs
  • Forums
  • Articles
  • Terms of use
  • EMVP program

Learning resources

  • Technical overview
  • Learning path Episerver CMS
  • Developer guides
  • User guide
  • Video tutorials
  • Episerver GitHub
  • Episerver Education

Contact

Episerver Support

See the Support page for contact information.

Feedback on Episerver World

If you’d like to give feedback about this site, please click here. Thank you very much!
© Episerver 2019 │ About Episerver World