My webpage has two datagrids and 10 labels and so on. In this page i want only one datagrid to be refreshed automatically every 60secs so that it keeps displaying the updated data.
I mean, i have another webbased apps(different application) which inserts the data in the database...and this data should popup automatically in the datagrid.....The client should not know that the grid is refreshed so many times. I mean on status bar the progress bar should not be visible.
I used MySQL, C#.net, ASP.net and Syncfusion datagrid. Please feel free to ask me if you are not clear.
>Hi Alex,
Thank you for the update.
If your intention is to add the data to the database and to display the added data in the grid while grid refreshes, then it can be achieved by placing the GridGroupingControl in the callbackPanel and resetting the data to grid on the CallbackRefresh event of CallbackPanel.
[C#]
protected void CallbackPanel1_CallbackRefresh(object sender, Syncfusion.Web.UI.WebControls.Tools.CancellableCallbackEventArgs e)
{
this.GridGroupingControl1.TableDescriptor.ResetTableDescriptor();
this.GridGroupingControl1.TableDescriptor.AllowNew = false;
this.GridGroupingControl1.TableDescriptor.AllowEdit = false;
this.GridGroupingControl1.DataSource = table;
}
Please refer the modified sample in the below link which illustrates the above:
http://websamples.syncfusion.com/samples/Grid.Web/5.2.0.25/69826_1/main.htmIf I have misunderstood your requirement, could you please explain me in detail, so that I can work in depth and try to send a better solution?
Thanks,
Melba