Jul 20, 2011, 3:33 PM
Store Data is not binding
Hello,
I am trying to refresh the grid panel after some say 1 minute. But the grid is not getting updated. After clicking on refresh icon the data gets visible. So can any one help me out of this.
code :
Begin:
I am trying to refresh the grid panel after some say 1 minute. But the grid is not getting updated. After clicking on refresh icon the data gets visible. So can any one help me out of this.
code :
Begin:
System.Threading.Thread.Sleep(4000);
if (Cache["XYZ"] != null)
{
taskRunList = (List<TaskRunDetails>)Cache["WorkflowStatus"];
Store1.DataSource = taskRunList;
Store1.DataBind();
Store1.LoadData(taskRunList);
}
if (Session["ABC"] != null || Cache["XYZ"] != null)
{
goto Begin;
}
Store1.LoadData(taskRunList);
}
Last edited by Daniil; Jul 20, 2011 at 4:53 PM.
Reason: Please use [CODE] tags