This is a migrated thread and some comments may be shown as answers.

RadGrid Winform Refreshing Datasource

1 Answer 487 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Atif
Top achievements
Rank 1
Atif asked on 15 Oct 2014, 04:23 PM
Hi, I recently installed the Telerik Winform and using the RadGrid control. I am working with a database where the values get updated every second and I have to display the updated rows to RadGrid. Before that I was using the standard DataGrid but there was lot of flicking problem on assigning the data source again to refresh it.

RadGrid is better option but I am still facing the same issue with it. I am using background worker control with Async mode queries and on Timer control I am refreshing the data
1. Clearing the dataset
2. RadGrid datasource to Nothing
2. Filling the dataset again, 
4.and assigning the data source to RadGrid

All the above process causing the RadGrid to flick, can you please guide me to do this is better way. Example will be appreciated.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 20 Oct 2014, 10:10 AM
Hi Atif,

Thank you for writing.

We already have an example for this in our demo application. It is called High Refresh and the attached image shows where you can find it. In addition the entire code for the example is also available in C# and VB NET (just click the desired language tab).

I hope this helps. Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
GridView
Asked by
Atif
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or