This is a migrated thread and some comments may be shown as answers.
Ambigious reference between map and
1 Answer 11 Views
This is a migrated thread and some comments may be shown as answers.
Gilbert van Veen
Top achievements
Rank 1
Gilbert van Veen asked on 29 Jun 2015, 08:27 AM

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.



1 Answer, 1 is accepted

Sort by
Telerik team
answered on 30 Jun 2015, 09:07 AM

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
Asked by
Gilbert van Veen
Top achievements
Rank 1
Answers by
Telerik team
Share this question