In my web application, on one page I'm having 4 UpdatePanel. All data corresponding to this UpdatePanel comes from database, so there is a substantial waiting time. When the page gets loaded, data for each UpdatePanel
gets loaded 1 at a time. Can I load data for all sections asynchronously? Since this can help my application to reduce the loading time. Or it's not possible to start another request before the 1st
one is complete?Any help will be appreciated.
I am not sure abt ur first issue but i think that in case you can do synchronization.
Tell me if you get any help regarding your blog..
Thanx
Deepak Gupta
(Broadway Infotech Private Limited,Noida)
Website:www.broadwayinfotech.com.au
Email-deepak.gupta@broadwayinfotech.com.au
Web Design Software Development .net Development
To have a good understanding of the life cycle of async-request is helpful. Please refer to this for more information, http://ajax.asp.net/docs/overview/AJAXClientEvents.aspx
With the UpdatePanels, only one asynchronous request is handled at a time. This is intentional because these request include the ViewState on the page and make it almost impossible to keep it all in sync if multiple requests are occuring simultaneously.
Raymond is correct in mentioning that you should get a good grasp of the life cycle that happens during these request - there is the asp.net page lifecycle, but there is also a client-side lifecycle. In short, become familiar with the PageRequestManager, this client-side
object will grant you more control of what goes on during these ajax postbacks. Lastly, check out this sample to see how to work with the client-side events:
http://weblogs.asp.net/davidbarkol/archive/2007/03/25/asp-net-ajax-client-side-event-viewer.aspx
aalok43
Member
2 Points
6 Posts
Multiple UpdatePanel query
Jun 01, 2007 09:45 AM|LINK
Thanks and regards,
AaLoK
deepakleo200...
Member
138 Points
92 Posts
Re: Multiple UpdatePanel query
Jun 01, 2007 02:04 PM|LINK
Hi
I am not sure abt ur first issue but i think that in case you can do synchronization.
Tell me if you get any help regarding your blog..
Thanx
(Broadway Infotech Private Limited,Noida)
Website:www.broadwayinfotech.com.au
Email-deepak.gupta@broadwayinfotech.com.au
Web Design Software Development .net Development
Raymond Wen ...
All-Star
32101 Points
3764 Posts
Re: Multiple UpdatePanel query
Jun 05, 2007 05:33 AM|LINK
Please refer to this: http://forums.asp.net/t/1108522.aspx
aalok43
Member
2 Points
6 Posts
Re: Multiple UpdatePanel query
Jun 06, 2007 12:12 PM|LINK
Can you provide me with some document if you have any.
Thanks and regards,
AaLoK
Raymond Wen ...
All-Star
32101 Points
3764 Posts
Re: Multiple UpdatePanel query
Jun 08, 2007 01:17 AM|LINK
davidbarkol
Member
725 Points
141 Posts
ASPInsiders
Re: Multiple UpdatePanel query
Jun 08, 2007 07:03 AM|LINK
With the UpdatePanels, only one asynchronous request is handled at a time. This is intentional because these request include the ViewState on the page and make it almost impossible to keep it all in sync if multiple requests are occuring simultaneously. Raymond is correct in mentioning that you should get a good grasp of the life cycle that happens during these request - there is the asp.net page lifecycle, but there is also a client-side lifecycle. In short, become familiar with the PageRequestManager, this client-side object will grant you more control of what goes on during these ajax postbacks. Lastly, check out this sample to see how to work with the client-side events: http://weblogs.asp.net/davidbarkol/archive/2007/03/25/asp-net-ajax-client-side-event-viewer.aspx
ASP.NET AJAX UpdatePanel PageRequestManager
aalok43
Member
2 Points
6 Posts
Re: Multiple UpdatePanel query
Jun 08, 2007 12:28 PM|LINK
Thanks Raymond and David for your suggestion.
Thanks and regards,
AaLoK