views:

48

answers:

2

I have a solution that uses accordian and tab controls , amongst others. Is it worth swapping these out and using the jquery controls. What are the benefits. Is it best practice to load one tab at a time with data? Thanks

+2  A: 

I have make this swap in some test on my projects, from asp.net ajax controls to jQuery controls, and my only issues was the UpdatePanel's.

Asp.net take care the UpdatePanel messages (when you make asynchronous calls), but if you going to change it with jQuery you need to take care this updates by your self - if you use UpdatePanel.

Update.
I agree with the comments for the UpdatePanel. I was working on a project, that have all ready many upadtePanels and we just starting to change some thinks to see what and how. If you build it up from the beginning I agree that its better to avoid UpdatePanel and do it with jQuery.

Aristos
If you have to use an UpdatePanel in order to use the JQuery controls then I would say that was a minus.
Mantorok
The main reason I would like to switch is to avoid update panel. I was wondering what the performance improvement would be if jquery controls where used over ajax .net server controls such as the tab panel
Stuart
+2  A: 

There are obviously benefits to using both, but in my experience if you are using ASP.Net then you are going to find the (I'm assuming you meant Ajax Control Toolkit) the ASP.Net controls better if you have a requirement for data-binding or have a high tendancy to utilise your server execution time a lot.

IMO if the current controls meet your requirements then there isn't a breaking reason to switch to the jquery controls, some ASP.Net server controls that provide AJAX functionality can be quite heavy-weight and cumbersome, but I've found controls like the Accordion to fit my needs perfectly, and wouldn't see a need to switch unless it wasn't flexible enough.

Mantorok