Reputation: 11807
I am using the lazy load approach for loading the user control content by using the timer method outlined here:
It works great when there's only one user control, but when there are multiple ones, it first renders the page, then renders the User control 1 and waits for the timer click event to be completed before it gets to the User control 2's timer click.
I want more of a async call approach where the timer events of all user controls are independently fired instead one after the other (it appears that this is possible in portals like dropthings or pageflakes that dont use client side ajax methods)
Is this possible? Any help is really appreciated.
Upvotes: 0
Views: 3920
Reputation: 8008
a friend did something similar for some usercontrols that took very long to render; check here: http://ivowiblo.wordpress.com/2010/06/02/asp-net-webforms-lazypanel-deferred-content-loading-in-webforms/
hope it helps
Upvotes: 1
Reputation: 2680
Check this out: http://encosia.com/2007/09/19/aspnet-ajax-timer-trouble-location-is-key/
and look at the "pop quiz" at the end and the comment by Maurice.
Upvotes: 0