Last post Apr 22, 2012 09:00 AM by pettrer
Apr 12, 2012 07:59 AM|pettrer|LINK
I am working on an application-like web page (initially I developed it in Silverlight) where the user triggers events and gridview updates using sliders and similar controls. I want it to look fluid and "sexy", so to speak. I also need to perform the gray
overlay when the user clicks a certain product.
used jQuery, which I believe (but I might be wrong here) offers about the same functionality - and much more - than the toolkit. I also noticed that VS has templates using jQuery, but that the toolkit is still a separate, perhaps not officially suported, download.
So, which one should I be using?
Thanks for any advice!
Apr 12, 2012 08:56 AM|kedarrkulkarni|LINK
ajax control toolkit provides server side control over controls.... hence, as an developer u get lot of flexibility and easier to do things...
however, jQuery prvides light weight option of carrying out same functionality and the range of plugins created by open source community makes it even more powerful... whatever functionality u r looking for... u would find that someone already has created
a plugin for that case (most of time)
also, control toolkit has its baggage of huge size and heavy page.
I would say if you can stick to jQuery and achieve required function then it would be good option (although, u wont get a server side abstraction over control classes etc. and you may have to code more)
hope this helps...
Apr 12, 2012 09:02 AM|pettrer|LINK
Thank you so much for your thorough reply.
What I (obviously) need is that when I drag a slider, the server gets called via a regular updatepanel, so in other words, I need to get the drag event (or check on a checkbox) hooked up to my dotnet codebehind code. This is of course standard in the toolkit.
But this also should be possible also using jQuery, shouldn't it?
Apr 13, 2012 03:38 AM|chetan.sarode|LINK
jQuery is basically like the ASP.NET AJAX Client Framework (MicrosoftAjax.js), with selectors, DOM manipulation, plugins, and better animation support. On the client side jQuery is really much more powerful than MS AJAX. That's why they've decided to start
bundling it with VS in the future, instead of trying to reinvent that wheel in MicrosoftAjax.js.
jQuery and ASP.NET AJAX aren't necessarily mutually exclusive though. For example, using MS AJAX to automatically JSON serialize the return from an ASMX service is very useful.
Take a look at the jQuery category on my blog for some examples of using jQuery on the client with ASP.NET AJAX on the server.
ASP.Net Ajax and JQuery are different framework on client. You can use ASP.Net Ajax with JQuery if you'd like to. Please check this article by Scott Gu:
Apr 22, 2012 09:00 AM|pettrer|LINK
Thanks so much both of you for your replies!