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

Entity Framework 4.1 and "Live data"

1 Answer 28 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kennet
Top achievements
Rank 2
Kennet asked on 02 Sep 2011, 08:59 AM
Picture the scenario like this: A playlist with songs that GridWiew shows and when I outside the application update the "playlist" I need GridView to smoothly show the updated data.  Data contains "songname", "playdate", "sortOrder"

Showing and edit the playlist is easy, but how do I do the "live" update best?  It could contains many rows like 20000;

var query = from o in contex.playlists
                        where o.date >= _today
                        orderby o.playdate, o.sortOrder
                        select o;
 
            _playlists = new ObservableCollection<playlist>(query.ToList());
 
            radGridView1.ItemsSource = _playlists;

Any ideas?

/Ken

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 05 Sep 2011, 09:04 AM
Hi Kennet,

Please take a look at this article for a reference. You may also find this forum thread helpful.

 

Best wishes,
Maya
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
GridView
Asked by
Kennet
Top achievements
Rank 2
Answers by
Maya
Telerik team
Share this question
or