I found that in certain circumstance using the ajax toolkit become impossible because it is too heavy, difficult to use and difficult to customize.
Indeed it doesn't exists any big web site that use ajax toolkit. I means gmail, ebay, facebook couldn't be written in asp.net with the support of ajax toolkit because they couldn't be optimized as they actually are.
Have you ever tryed to monitor the net traffic of a web site that use ajax toolkit or even only update panels? It's crazy!
So I ask if someone know if is possible to have ajax in asp.net without these components.
there are myriads of plugins for jQuery so you can replace practically all of the components with some jQuery plugin. For example: jqueryUI, blockUI, jqGrid, ... to name a phew.
Grz, Kris.
Read my blog | Twitter Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
yes its possible. the goals of the toolkits are different.
the ajax toolkit was designed for server control builders who wanted javascript support for their controls. typical use does not require any javascript knowledge, server controls are placed on the form that generate the javascript.
jQuery was designed for javascript coders who wanted an abstracted dom and ajax support. a good understanding of javascript is required and webform controls are a pain to deal with. there are plugins to match the functionality of ajax controls (but have
no asp.net server integration). jQuery server support is limited to form posts and webservice calls. the sample server code is generally written php (google is your friend to find .net examples).
depending on which camp you are in will determine the best fit.
note: jQuery has become popular enough with .net that some 3rd parties supply server control wrappers for jQuery plugins.
It explains exactly how to use ASP.NET with jQuery, in a real ajax flavour, without using update panels, ajax toolkit, script manager and viewstate say excluding all that features that make ASP.NET unable to keep a web site agile and slight
Maxi Saul
0 Points
1 Post
Is it possible to entirely replace Ajax toolkit with jQuery?
Nov 09, 2010 02:33 PM|LINK
I found that in certain circumstance using the ajax toolkit become impossible because it is too heavy, difficult to use and difficult to customize.
Indeed it doesn't exists any big web site that use ajax toolkit. I means gmail, ebay, facebook couldn't be written in asp.net with the support of ajax toolkit because they couldn't be optimized as they actually are.
Have you ever tryed to monitor the net traffic of a web site that use ajax toolkit or even only update panels? It's crazy!
So I ask if someone know if is possible to have ajax in asp.net without these components.
Thanks
JQuery ajax asp.net ajax library
XIII
All-Star
182789 Points
23485 Posts
ASPInsiders
Moderator
MVP
Re: Is it possible to entirely replace Ajax toolkit with jQuery?
Nov 09, 2010 02:36 PM|LINK
Hi,
there are myriads of plugins for jQuery so you can replace practically all of the components with some jQuery plugin. For example: jqueryUI, blockUI, jqGrid, ... to name a phew.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
raghav_khung...
All-Star
32835 Points
5563 Posts
MVP
Re: Is it possible to entirely replace Ajax toolkit with jQuery?
Nov 09, 2010 03:32 PM|LINK
Yes you can do it. And yes I agree the page becomes heavy bu using control toolkit. Update panels too are very heavy you can refer this interesting article http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/
bruce (sqlwo...
All-Star
37626 Points
5574 Posts
Re: Is it possible to entirely replace Ajax toolkit with jQuery?
Nov 09, 2010 03:53 PM|LINK
yes its possible. the goals of the toolkits are different.
the ajax toolkit was designed for server control builders who wanted javascript support for their controls. typical use does not require any javascript knowledge, server controls are placed on the form that generate the javascript.
jQuery was designed for javascript coders who wanted an abstracted dom and ajax support. a good understanding of javascript is required and webform controls are a pain to deal with. there are plugins to match the functionality of ajax controls (but have no asp.net server integration). jQuery server support is limited to form posts and webservice calls. the sample server code is generally written php (google is your friend to find .net examples).
depending on which camp you are in will determine the best fit.
note: jQuery has become popular enough with .net that some 3rd parties supply server control wrappers for jQuery plugins.
epik
Member
2 Points
1 Post
Re: Is it possible to entirely replace Ajax toolkit with jQuery?
Nov 09, 2010 05:32 PM|LINK
I think that you could give an eye to this article on CodeProject (http://www.codeproject.com/KB/ajax/AjaxAndAspNET.aspx).
It explains exactly how to use ASP.NET with jQuery, in a real ajax flavour, without using update panels, ajax toolkit, script manager and viewstate say excluding all that features that make ASP.NET unable to keep a web site agile and slight