asp.net - Display GridView while others still load -
i new asp.net/c#. came across asp:updatepanel
control in asp.net. have multiple gridviews in page. trying achieve display gridviews , when loaded.
say instance, first gridview data loaded data source , databound grid. how can use updatepanel
show results user while other gridviews still being loaded?
note: achieve this, using flag , timer. timer set trigger
in updatepanel
on every tick
of timer, check if data loaded using flag. if so, call databind()
method displays data on page while others still being processed.
i know above not efficient way this. please help.
if set update mode of updatepanel
conditional
, after databind()
should call .update()
such
gridview1.databind(); updatepanel1.update();
Comments
Post a Comment