New to Telerik UI for WPFStart a free 30-day trial

Getting Started with WPF DataServiceDataSource

Updated on Nov 7, 2025

This tutorial will walk you through the creation of a sample application that contains RadDataServiceDataSource control.

Adding Telerik Assemblies Using NuGet

To use RadDataServiceDataSource when working with NuGet packages, install the Telerik.Windows.Controls.DataServices.for.Wpf.Xaml package. The package name may vary slightly based on the Telerik dlls set - Xaml or NoXaml

Read more about NuGet installation in the Installing UI for WPF from NuGet Package article.

With the 2025 Q1 release, the Telerik UI for WPF has a new licensing mechanism. You can learn more about it here.

Adding Assembly References Manually

If you are not using NuGet packages, you can add a reference to the following assemblies:

  • Telerik.Licensing.Runtime
  • Telerik.Windows.Controls
  • Telerik.Windows.Controls.DataServices

With the release of the 2025 Q4, the Telerik.Windows.Controls.DataServices50 and Telerik.Windows.Controls.DataServices60 assemblies have been removed. Instead, use the Telerik.Windows.Controls.DataServices assembly, which is built against the Microsoft.OData.Client NuGet package with version 7.8.3.

You can find the required assemblies for each control from the suite in theControls Dependencies help article.

Adding RadDataServiceDataSource

We will use RadGridView control in order to visualize the data.

Using RadDataServiceDataSource with RadGridView

XAML
	<telerik:RadDataServiceDataSource Name="customersDataSource" QueryName="Products" AutoLoad="True">
		<telerik:RadDataServiceDataSource.DataServiceContext>
			<local:ProductsContext/>
		</telerik:RadDataServiceDataSource.DataServiceContext>
	</telerik:RadDataServiceDataSource>

	<telerik:RadGridView Grid.Row="0" ItemsSource="{Binding DataView, ElementName=customersDataSource}"
                     IsBusy="{Binding IsBusy, ElementName=customersDataSource}" 
                     ShowGroupPanel="False"/>

See Also

Telerik UI for WPF Learning Resources