I have gridview in update panel and i am doing post back after two seconds to update panel like this
<script language="javascript" type="text/javascript">
window.setInterval(function () {
__doPostBack('<%= UpdatePanel1.ClientID %>', '');
}, 2000);
</script>
and on server side i used this code to load grid on each postback
if (IsPostBack)
{
GridView2.DataBind();
SqlDataSource1.DataBind();
}
It Load the Gridview after tow seconds accordingly.But Problem is that it didn't work on a bit slow internet connection or also making load on web server i only want to ask that is there any alternative on client end or with javascript so it should do all on client level not on server level.Plz give any better idea