Ambigious reference between map and

2 posts, 0 answers
  1. Gilbert van Veen
    Gilbert van Veen avatar
    68 posts
    Member since:
    Oct 2009

    Posted 29 Jun 2015 Link to this post

    I have added the RadMap control to one of my forms.

    Now I have an ambigious reference error on the categorycollection. I am using the ScheduleView in another form.


    <telerik:CategoryCollection x:Key="DefaultCategoryCollection">
    <telerik:Category CategoryBrush="{StaticResource RedCategoryBrush}" CategoryName="Red Category" />
    <telerik:Category CategoryBrush="{StaticResource GreenCategoryBrush}" CategoryName="Green Category" />
    <telerik:Category CategoryBrush="{StaticResource BlueCategoryBrush}" CategoryName="Blue Category" />
    <telerik:Category CategoryBrush="{StaticResource PurpleCategoryBrush}" CategoryName="Purple Category" />
    <telerik:Category CategoryBrush="{StaticResource YellowCategoryBrush}" CategoryName="Yellow Category" />
    <telerik:Category CategoryBrush="{StaticResource OliveCategoryBrush}" CategoryName="Olive Category" />
    <telerik:Category CategoryBrush="{StaticResource PinkCategoryBrush}" CategoryName="Pink Category" />
    <telerik:Category CategoryBrush="{StaticResource OrangeCategoryBrush}" CategoryName="Orange Category" />

     Wich xmlns namespace should I Add/specify in the XAML definition to tell the app to use the appropriate namespace for the scheduler control.

     Now I have:


     This worked fine until I added the RadMap.



  2. Rosi
    Rosi avatar
    2527 posts

    Posted 30 Jun 2015 Link to this post


    I suggest you use the Telerik.Windows.Controls namespace from ScheduleView assembly instead the Telerik schema:


    xmlns:scheduleView ="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView"
    <scheduleView :CategoryCollection x:Key="DefaultCategoryCollection">

    Hope this helps

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top