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

Gridview freezes when deleting several records

5 Answers 79 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ambar Kulkarni
Top achievements
Rank 1
Ambar Kulkarni asked on 23 Nov 2010, 11:17 PM
I am using a GridView to display real-time data (syslog messages) and it works fine as long as I keep adding records. However when I try to remove old records, the GridView just freezes (stops responding). Is there a special way to delete records? Right now I have bounds the ItemsSource to an ObservableCollection and when the number of records in it reaches 10,000 I want to delete the first 100 records (i.e index 0 through 99). GridView seems to have no problem dealing with the 10,000 records but as soon as I delete even one record, it stops responding. I have already tried my own variation of your AddRangeObservableCollection (modified it to stop CollectionChanged notification, delete 100 records and then re-start the CollectioChanged notifications) but the GridView still stops responding after deletion. Please help.

-Ambar

5 Answers, 1 is accepted

Sort by
0
Ambar Kulkarni
Top achievements
Rank 1
answered on 26 Nov 2010, 03:34 AM
Any ideas? Please help.
Thanks

-Ambar
0
Vlad
Telerik team
answered on 26 Nov 2010, 07:40 AM
Hi Ambar,

 Can you send us your application (via support ticket) where we can reproduce and debug this? 

Greetings,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Ambar Kulkarni
Top achievements
Rank 1
answered on 26 Nov 2010, 09:05 PM
Vlad,

Do you need the source code or just a installable product?

Thanks

-Ambar
0
Vlad
Telerik team
answered on 29 Nov 2010, 07:52 AM
Hi,

 Small example application (with source code) where we can reproduce the scenario and these problems will do the work. 

Sincerely yours,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Ambar Kulkarni
Top achievements
Rank 1
answered on 30 Nov 2010, 03:19 AM
Vlad,

Actually upgrading to the latest Q3 release fixed the problem.

Thanks for your response.

-Ambar
Tags
GridView
Asked by
Ambar Kulkarni
Top achievements
Rank 1
Answers by
Ambar Kulkarni
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or