I am working with my ajax web application that supports .net 4 and this application use a script manager in the master page and there are many updatepanels through all aspx pages inherits from this master page. few months later I found my site got too
slow as I implemnted too much jquery scripts and referenced them in the script manager. My friend told me that script manager and update panels are not healthy to web sites as they consume too bandwidth and causes slow time performance with my site. he advised
me to avoid script manager and update panela and use pure ajax codes and jquery server requests. I am a beinner in jquery coding any advice how to do so or any tutorials
Even UpdatePanel has less perfomance that jquery with ajax , but its so easy to handle with, only you need to add UpdatePanel control around your controls.
yeah Updatepanel is making processing of website/application to slow to some extent but it can do most of work
e.g partial post back of page for you. If want to continue with just jQuery then u have to do alot of work e.g if treeview node becomes clicked then you have to maintain the postion of selected node after page post back etc
As Updatepanel and jQuery ajax are different in design, for example what is done at code behind to change a value of a control now may becomen to be changed by javascript. So there may not be generic way, you may yet browse the links provided by others,
and then hardcode your updatepanel one by one.
genius perso...
Member
128 Points
198 Posts
Using pure jquery instead of script manager
Feb 23, 2012 02:07 PM|LINK
Hi all forum,
I am working with my ajax web application that supports .net 4 and this application use a script manager in the master page and there are many updatepanels through all aspx pages inherits from this master page. few months later I found my site got too slow as I implemnted too much jquery scripts and referenced them in the script manager. My friend told me that script manager and update panels are not healthy to web sites as they consume too bandwidth and causes slow time performance with my site. he advised me to avoid script manager and update panela and use pure ajax codes and jquery server requests. I am a beinner in jquery coding any advice how to do so or any tutorials
looking for help my website is too too slow
Yousef_Jadal...
Star
8812 Points
1502 Posts
Re: Using pure jquery instead of script manager
Feb 23, 2012 02:20 PM|LINK
Even UpdatePanel has less perfomance that jquery with ajax , but its so easy to handle with, only you need to add UpdatePanel control around your controls.
try to search with these keys : jquery ajax;
http://www.google.com/search?source=ig&hl=en&rlz=&q=jquery+ajax&btnG=Google+Search
mabdeali
Member
4 Points
2 Posts
Re: Using pure jquery instead of script manager
Feb 23, 2012 06:55 PM|LINK
Try the following online resources to help you get started on jQuery:
http://learn.appendto.com/lessons
http://tutsplus.com/course/30-days-to-learn-jquery/
Hope this helps.
Taz.
ASP.NET Insider, MCP
Web Product Manager at Infragistics
twitter: @mabdeali
blog : bit.ly/tazblog
JavedBoqo
Member
145 Points
144 Posts
Re: Using pure jquery instead of script manager
Feb 24, 2012 06:16 AM|LINK
hi
yeah Updatepanel is making processing of website/application to slow to some extent but it can do most of work e.g partial post back of page for you. If want to continue with just jQuery then u have to do alot of work e.g if treeview node becomes clicked then you have to maintain the postion of selected node after page post back etc
asteranup
All-Star
30184 Points
4906 Posts
Re: Using pure jquery instead of script manager
Feb 24, 2012 06:20 AM|LINK
Hi,
You can first go through what is ajax-
http://api.jquery.com/jQuery.ajax/
Then you can check many posts here-
http://www.delicious.com/anupdg/webservice+ajax
http://www.delicious.com/anupdg/webmethod
http://www.delicious.com/anupdg/pagemethod
Anup Das Gupta
Mark as Answer if you feel so. Visit My Blog
genius perso...
Member
128 Points
198 Posts
Re: Using pure jquery instead of script manager
Feb 25, 2012 09:33 AM|LINK
Thanks for you all , I am going on now with these tutoeials and looking forward from you for any code samples or certain steps to apply
BU XI - MSFT
All-Star
22367 Points
2704 Posts
Microsoft
Re: Using pure jquery instead of script manager
Feb 27, 2012 01:56 AM|LINK
Hello
As Updatepanel and jQuery ajax are different in design, for example what is done at code behind to change a value of a control now may becomen to be changed by javascript. So there may not be generic way, you may yet browse the links provided by others, and then hardcode your updatepanel one by one.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework