It is my pleasure to present you the newest member of the constantly growing family of XAML controls. RadDataServiceDataSource provides seamless integration between an user interface and data coming from a WCF Data Service. The WCF Data Services technology enables the creation and consumption of OData services for the web. If you want to learn more about the relationship between the two, you may read the whitepaper WCF Data Services and OData At-a-Glance.
With this new control, you can retrieve, shape and edit data using declarative XAML syntax only. RadDataServiceDataSource provides extensive code-behind API for more advanced scenarios. The QueryableDataServiceCollectionView<T> class, which is internally used by the control, is made publicly available for use in view models part of an MVVM architecture, where the usage of UI elements is not recommended.
RadDataServiceDataSource for WPF was built on top of the WCF Data Services Client Library. RadDataServiceDataSource for Silverlight was built on top of the Silverlight version of the client library respectively. The WPF and Silverlight versions of the control have APIs that are 100% identical.
RadDataServiceDataSource uses a DataServiceContext and a DataServiceQuery<T> to communicate with the server. Thanks to the fact that all controls are part of the Telerik family, RadDataServiceDataSource can codelessly integrate with RadGridView, RadDataPager and RadDataFilter and perform paging, filtering and sorting directly on the server. RadDataServiceDataSource can also be used as a standalone data source control since it provides the public API needed for loading, shaping and editing data.
Here are two sample projects to get you started:
The online documentation should be available very shortly.
Here you can find the online Silverlight demos of the control. For a WPF demo, install RadControls for WPF on your machine and run the local demos.
* In case you are using .NET Framework 3.5, you will need the ADO.NET Data Services Update for .NET Framework 3.5 SP1.
Copyright © 2016, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.