Duplicate Pageview ID on PageViewCreated in RadMultiPage

2 posts, 0 answers
  1. Thamim Ansari
    Thamim Ansari avatar
    1 posts
    Member since:
    Dec 2013

    Posted 22 Jan 2014 Link to this post

    Hai friends,

       I am using RadMultiPage control for load the UserControl from Notes to  Documents tab, in this tab control i click to Notes tab i got that tab PageView ID, then i click the Quotes tab after that i got the Notes PageViewID then only i got the Quotes PageView ID it also goto the Page Load function.

      If i selected the other tab i got the first two tab PageView ID and goto Page Load, finally i got that selected PageView ID, for this reason the MultiPage tab taking long time to load, how to i solve this problem, please help me..

      I am using OnPageViewCreated Event to load the UserControl to this tabs.

  2. Nencho
    Nencho avatar
    1446 posts

    Posted 27 Jan 2014 Link to this post

    Hello Thamim,

    I would suggest you to implement the approach, demonstrated in our online demo here. In particular, please refer to the OnClientTabSelected. At the client-side event handler, you could verify if the tab, which is about to be selected has already an associated PageViewID. If an association already exist, you could cancel the PostBack. Thus you will overcome a duplication of the PageViews and omit the load of all previous UserControl, which will be re-loaded in the PageViewCreated event handler:

    <script type="text/javascript">
    function onTabSelecting(sender, args)
        if (args.get_tab().get_pageViewID())

    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 the blog feed now.
  3. DevCraft banner
Back to Top