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.
I tried the toolkit a few years ago and found it powerful but troubling when I used different versions of the toolkit on different computers, and so, I abandoned it altogether. I recently taught a really basic course in javascript and on one assignment we
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.
toolkit and javascript libraries like jQuery are different in the sense that...
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...
Cheers!
KK
Please mark as Answer if post helps in resolving your issue
My Site
Marked as answer by BU XI - MSFT on Apr 19, 2012 03:08 AM
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?
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.
pettrer
Participant
970 Points
469 Posts
The Ajax Tookit vs jQuery
Apr 12, 2012 07:59 AM|LINK
Hi all,
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.
I tried the toolkit a few years ago and found it powerful but troubling when I used different versions of the toolkit on different computers, and so, I abandoned it altogether. I recently taught a really basic course in javascript and on one assignment we 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!
Pettrer, Sweden
kedarrkulkar...
All-Star
34535 Points
5554 Posts
Re: The Ajax Tookit vs jQuery
Apr 12, 2012 08:56 AM|LINK
toolkit and javascript libraries like jQuery are different in the sense that...
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...
KK
Please mark as Answer if post helps in resolving your issue
My Site
pettrer
Participant
970 Points
469 Posts
Re: The Ajax Tookit vs jQuery
Apr 12, 2012 09:02 AM|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?
Thanks again,
Pettrer
chetan.sarod...
All-Star
65839 Points
11163 Posts
Re: The Ajax Tookit vs jQuery
Apr 13, 2012 03:38 AM|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: http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx
</div>Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
pettrer
Participant
970 Points
469 Posts
Re: The Ajax Tookit vs jQuery
Apr 22, 2012 09:00 AM|LINK
Thanks so much both of you for your replies!
Pettrer