asp.net - AJAX Partial Page Load? -
i have page results page (you there after submitting search query elsewhere) whit whole bunch of gridviews different type of data objects.
obviously, of queries take longer others. how can make each gridview render has data needs?
this has been tricky me because must work on postback pageload. also, object data sources fire automatically on page load/postback; i'm not calling methods programatically data. have change this?
@gareth jenkins
the page execute of queries before returning first update panel, won't save time there.
the trick move each of complex gridviews user control, in user control, rid of object datasource crap, , binding in code behind.
write bind code binds in situation:
if (this.ispostback && scriptmanager.isinasyncpostback)
then, in page, programaticly refresh update panel using javascript once page has loaded, , you'll each individual gridview rendering once ready.
Comments
Post a Comment