The Netflix Catalog has nearly 150,000 movie entries, and it is exposed over the internet with an ODATA API. Thanks to the amazing Asynchronous Stealth Paging and Fluid UI offered by Xceed DataGrid for Silverlight, developers can allow end-users to browse remote data sources with the user experience demonstrated in this video. To achieve what is shown in this video takes only two lines of code and a bit of XAML to enable some additional features demonstrated. Everything is handled under the hood by the datagrid, there are no events to handle or anything else to do to benefit from the advanced data virtualization.
What 2 lines of code do you write to obtain a smooth scrolling asynchronous stealth paging Silverlight datagrid showing the Netflix catalog?
NetflixCatalog.NetflixCatalog catalog = new NetflixCatalog.NetflixCatalog( new Uri("htttp://odata.netflix.com/Catalog/",UriKind.Absolute ));
this.dataGrid.ItemsSource = catalog.Titles.IncludeTotalCount();
...and a tiny bit of XAML to enable the filter row etc. Makes use of WCF Data Services.
Odi 1 year ago
It is a Silverlight 4 control, BTW.
Odi 1 year ago