We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

GridDataControl''s data binding

Hi,

Your Silverlight GridDataControl's documentation says that GridDataControl is capable of binding to IBindingList/ITypedList interfaces. They are not part of Silverlight, so is it just an outdated documentation or am I missing something?

On a similar subject, what would you suggest regarding binding to truly dynamic data in Silverlight? So far, I implemented it using GridControl's virtual mode, but obviously I lose support for sorting/filtering/grouping etc. this way.

Regards,
Andrew

"The GridDataControl provides out of the box databinding support to all the popular datasources including the DomainDataSource for binding to WCF RIA servies (with ADO.NET’s Entities or LINQ to SQL or any custom data layer as back end), DataTable and DataView, ObservableColletion, CollectionViewSource, all the collections implementing ICollectionView, IEnumerable, IList, IBindingList, IQueryable, ITypedList and ICustomTypeDescriptor. When bound to the DomainDataSource, all the data operations done in the DomainDataSource like Sorting, Paging, Filtering, etc will be reflected in the Grid."


1 Reply

RA Rajasekar Syncfusion Team April 5, 2011 01:26 PM UTC

Hi Andrew,

Thanks for using Syncfusion products.

In Silverlight GridDataControl there is no support for ITypedList and IBindingList Interface. There is a mistake in our online Document. We will correct this mistake, in our upcoming volume release of Volume 2. We will update you once we change the document.

Virtual Grid Control is the Cell Based control. Virtual Grid is mainly used for performance oriented application like trading etc. Here there is no support for Filtering, Sorting etc.
But you can perform Filtering, Sorting etc in GridDataControl, which is databound control.

Regarding Dynamic data, we are having the sample in the dashboard itself, please find the sample in the below location,

Sample: < $Installation-directory\EssentialStudio\9.1.0.20\WPF\Grid.WPF\Samples\3.5\GridDataControl\DataBinding\Dynamic Objects Demo\CS>

Regarding WCF RIA services, we have attached the sample for your reference, please find the sample in the below location,

Sample: < http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=DomainDataSource2113183306.zip >

Please let us know if you have any queries.

Thanks,
Rajasekar




Loader.
Live Chat Icon For mobile
Up arrow icon