This is a migrated thread and some comments may be shown as answers.

RadAjaxManager, RadTabStrip, and RadMultiPage

3 Answers 195 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
rh
Top achievements
Rank 1
rh asked on 01 Oct 2009, 01:06 AM
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.

3 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 06 Oct 2009, 01:31 PM
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.
0
rh
Top achievements
Rank 1
answered on 07 Oct 2009, 06:34 PM
I ended up registering a startup javascript on the postback that switches the tabs and that solution is working good.
0
Sathish
Top achievements
Rank 1
answered on 28 Oct 2010, 01:50 PM
Hi could you please post the ajax script which worked out for you. I have the same problem of Rad tab not working
Tags
Ajax
Asked by
rh
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
rh
Top achievements
Rank 1
Sathish
Top achievements
Rank 1
Share this question
or