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

2 posts, 0 answers
  1. Jeff
    Jeff avatar
    1 posts
    Member since:
    Oct 2012

    Posted 23 Nov 2012 Link to this post

    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
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 23 Nov 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top