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

The Tag 'RadDataServiceDataSource.DataSourceContext' does not exist in XML namespace

1 Answer 74 Views
DataServiceDataSource
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 23 Nov 2012, 12:43 PM
Hi,

I just installed RadControls for WPF v2012.3.1017.40.  I have VS2012 v11.0.50727.1 RTMREL and I'm targeting .NET 4.0.

I'm getting the following error when referencing RadDataServiceDataSource:

Error    1    The tag 'RadDataServiceDataSource.DataSourceContext' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'. Line 55 Position 22.    D:\SVN\branches\DataExtractor-2.0.x\Workbench\MainWindow.xaml    55    22    Workbench

Here is the XAML in question:

<Window
        xmlns:myvm="clr-namespace:SmartProcure.Workbench.ViewModels"
        xmlns:mycv="clr-namespace:SmartProcure.Workbench.Converters"
        xmlns:mdmhub="clr-namespace:SmartProcure.Workbench.MdmHub"
        x:Class="SmartProcure.Workbench.MainWindow"
        Title="SmartProcure DataExtractor Workbench" Height="800" Width="1024" MinHeight="800" MinWidth="1024" Closed="Window_Closed">
...
                <telerik:RadDataServiceDataSource x:Name="dataServiceMdmHub" Height="100" Width="100" AutoLoad="True" PageSize="25" QueryName="ImportQueue">
                    <telerik:RadDataServiceDataSource.DataSourceContext>
                        <mdmhub:MdmHubEntitiesContext/>
                    </telerik:RadDataServiceDataSource.DataSourceContext>
                </telerik:RadDataServiceDataSource>

I tried many recommendations from other posts, but none have fixed the problem.  I can see in Object Browser that RadDataServiceDataSource has a DataSourceContext property, but VS is not able to find it to compile the project.

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 23 Nov 2012, 02:29 PM
Hi,

RadDataServiceDataSource never had a property called DataSourceContext.

The property has always been and will always be DataServiceContext.

Greetings,
Rossen Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DataServiceDataSource
Asked by
Jeff
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or