Inheriting from RadPageView

6 posts, 0 answers
  1. pirobox
    pirobox avatar
    16 posts
    Member since:
    Nov 2009

    Posted 09 Aug 2010 Link to this post

    I'm using 2010Q2 and I'm trying to inheriting from RadMultiPage.
    So far I had no problem inheriting from the main class, but I have some small issue when I try to create subclasses of its children: the PageViews

    I tried the same approach I used for RadTabStrip / RadTab and RadTreeView / RadTreeNode and so far they are working perfectly.
    I created a subclass of RadPageView and started adding instances of that subclass to a RadMultiPage.
    The problem happens on postbacks: the RadMultiPage recreates instances of RadPageView and not of my subclass.

    Am I making some error? Is there another way to subclass RadPageView? Is it not supported?

    Best Regards, Andrea Pirola
  2. T. Tsonev
    T. Tsonev avatar
    2831 posts

    Posted 12 Aug 2010 Link to this post


    I can confirm that RadMultiPage will not use your custom type when recreating the page views from ViewState. There's no suitable CreatePageView method to override in this case.

    This is an inconsistency that we'll fix right away. The fix will be available in the next internal build as well as in the next service pack release.

    As a token of gratitude for your involvement your Telerik points have been updated.

    Tsvetomir Tsonev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. robin russell
    robin russell avatar
    3 posts
    Member since:
    Feb 2010

    Posted 04 May 2011 Link to this post

    has this inheritance issue been fixed?? If so in which version
  4. Veronica
    Veronica avatar
    1213 posts

    Posted 05 May 2011 Link to this post

    Hi robin russell,

    Yes, this is already fixed. We've implemented a CreatePageView method in the RadMultiPage.

    Veronica Milcheva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  5. Dmitry
    Dmitry avatar
    1 posts
    Member since:
    Apr 2013

    Posted 08 Apr 2013 Link to this post


    I am using Telerik controls for ASP.NET AJAX v.2012.3.1308.40.  I am struggling to find the CreatePageView method that was previously mentioned in this thread.  I have created a subclass for RadPageView with an intention of creating some additional properties, but the control is recreated as the base class (RadPageView) on the postback.

    Could you please assist me with locating the new method?

    Thank you,
  6. Nencho
    Nencho avatar
    1871 posts

    Posted 10 Apr 2013 Link to this post

    Hello Dmitry,

    The mentioned method possess a protected access modified and once you have inherited the RadMultiPage class, you should be able to access it.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top