RadAjaxManager, RadTabStrip, and RadMultiPage

4 posts, 0 answers
  1. rh
    rh avatar
    192 posts
    Member since:
    Jan 2007

    Posted 30 Sep 2009 Link to this post

    I have a page that is fairly large and broken up into tabs with RadTabStrip and RadMultiPage. Each PageView in the multipage is a usercontrol. The hosting page uses MS Ajax to host a javascript application that the child usercontrols leverage. So it's a fairly complex page. To make matters worse I have a scenario where I need to postback and load two more tabs and make one of those tabs and the corresponding multipage the active tab. I use RadAjaxManager to do this. The button that initiates this action is in a RadToolBar.

    I have two AjaxSettings that wire up the toolbar to the tabstrip and the multipage control. The only way I've been able to get it to work is to wire up the ajax setting to the RadMultiPage control. The downside to this is that it is very slow now when anything is done in the toolbar because it has to reload the entire multipage rather than just the appropriate portions. On one hand it makes sense that the ajax setting has to be wired up to the entire multipage control, but I sure wish it didn't have to be and figured I'd see if someone had a better idea on how to do this.

    Another reason why I'm asking is that I get the pesky IE prompt "a script on this page is causing internet explorer to run slowly" which I'm sure has to do with all the javascript I have in the hosting page and the usercontrols that have to be reloaded each time a toolbar button is pressed.

    Note that I can't use the RadMultiPage capability of loading each page on demand because I need the switching of tabs be really fast (except for the two tabs that are loaded by the toolbar buton). My users are on the phone with customers when they are on this page so they need to be able to switch around really fast to enter data or answer questions.
  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 06 Oct 2009 Link to this post

    Hello rh,

    I am afraid that if the active page view should be changed on toolbar button click, you need to add as updated control the RadMultiPage as well.
    I suggest that you try replacing the RadAjax with ASP:UpdatePanel and see if it makes any difference.  In order to isolate the problem further, you can try removing the UpdatePanels on the main page and leave the RadAjax settings only.

    Check it out and let me know how it goes.

    Best wishes,
    Iana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. rh
    rh avatar
    192 posts
    Member since:
    Jan 2007

    Posted 07 Oct 2009 Link to this post

    I ended up registering a startup javascript on the postback that switches the tabs and that solution is working good.
  4. Sathish
    Sathish avatar
    1 posts
    Member since:
    Oct 2010

    Posted 28 Oct 2010 Link to this post

    Hi could you please post the ajax script which worked out for you. I have the same problem of Rad tab not working
Back to Top