1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Custom Base Page Class

Custom Base Page Class

2 posts, 0 answered
  1. rolls rolls
    rolls rolls avatar
    24 posts
    Registered:
    02 Nov 2002
    07 Jan 2008
    Link to this post
    I would like to implement my own my own base page  which inherits from 

    Telerik.Cms.Web.CmsPageBase

    Are there any gotchas before I do this?

    Thanks
  2. Vlad
    Vlad avatar
    498 posts
    Registered:
    19 Jun 2017
    09 Jan 2008
    Link to this post
    Hi rolls rolls,

    Why do you want to implement your own class inherited from Telerik.Cms.Web.CmsPageBase? Doing this, you cannot change the default functionality of Sitefinity, since you cannot replace the existing Telerik.Cms.Web.CmsPageBase with such a class.

    Probably, you want to override Telerik.Cms.Web.InternalPage, which also inherits from Telerik.Cms.Web.CmsPageBase? InternalPage class is the code-behind of the page which is responsible for live pages output (~/Sitefinity/cmsentrypoint.aspx):

    <%@ Page Inherits="Telerik.Cms.Web.InternalPage" MasterPageFile="~/Sitefinity/Dummy.master" %> 

    Please let us know if you need further information.

    Greetings,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered