I'm trying to declare my resources like what is shown in this example:
http://www.telerik.com/help/silverlight/radscheduleview-features-resources.html
In my code, they have the format:
But when I build, I get the error message
"The tag 'Resource' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'."
I don't understand how this is possible, because the Resources show up in intellisense and don't give me an error underline in the code. Yet the project will not build properly.
Any ideas why this might be happening?
Thank you in advance.
http://www.telerik.com/help/silverlight/radscheduleview-features-resources.html
In my code, they have the format:
<
telerik:RadScheduleView
x:Name
=
"Scheduler"
telerik:StyleManager.Theme
=
"Office_Blue"
>
<
telerik:RadScheduleView.ResourceTypesSource
>
<
telerik:ResourceTypeCollection
>
<
telerik:ResourceType
Name
=
"Driver"
>
<
telerik:Resource
ResourceName
=
"Driver 1"
/>
<
telerik:Resource
ResourceName
=
"Driver 2"
/>
<
telerik:Resource
ResourceName
=
"Driver 3"
/>
<
telerik:Resource
ResourceName
=
"Driver 4"
/>
<
telerik:Resource
ResourceName
=
"Driver 5"
/>
</
telerik:ResourceType
>
</
telerik:ResourceTypeCollection
>
</
telerik:RadScheduleView.ResourceTypesSource
>
</
telerik:RadScheduleView
>
But when I build, I get the error message
"The tag 'Resource' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'."
I don't understand how this is possible, because the Resources show up in intellisense and don't give me an error underline in the code. Yet the project will not build properly.
Any ideas why this might be happening?
Thank you in advance.
6 Answers, 1 is accepted
0
Hello Eric,
We're not aware of such an issue in RadScheduleView and we're not able to reproduce it. Could you please open a support ticket and send us a sample project so we can test it at our side? Thanks
Best wishes,
Yana
the Telerik team
We're not aware of such an issue in RadScheduleView and we're not able to reproduce it. Could you please open a support ticket and send us a sample project so we can test it at our side? Thanks
Best wishes,
Yana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Eric
Top achievements
Rank 1
answered on 11 Oct 2011, 04:25 PM
Sorry for the late reply on this.
Looks like I had a small error in my code, but I changed it to the correct format when I generalized it to post in the forum.
Looks like I had a small error in my code, but I changed it to the correct format when I generalized it to post in the forum.
0
Sébastien
Top achievements
Rank 1
answered on 01 Nov 2011, 01:16 PM
Hello,
I am currently experiencing this issue, I am not sure what I am doing wrong either. Can you assist?
Regards
I am currently experiencing this issue, I am not sure what I am doing wrong either. Can you assist?
Regards
0
Renier Pretorius
Top achievements
Rank 2
Iron
Iron
Iron
answered on 05 Aug 2013, 09:08 AM
Hi
I am experiencing exactly the same issue:
...
Additional info: I was playing around with different views and previously had a RadGanttChart in the UserControl. Commented it out and removed reverences to relevant telerik assembly.
I am experiencing exactly the same issue:
<UserControl x:Class="KIO.Logistics.Dashboard.View.VesselListView"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
<
telerik:RadScheduleView
Grid.Row
=
"0"
MaxTimeRulerExtent
=
"30400"
ToolTipTemplate
=
"{StaticResource AppointmentTooltip}"
AppointmentsSource
=
"{Binding VesselSchedule}"
>
<
telerik:RadScheduleView.ResourceTypesSource
>
<
telerik:ResourceTypeCollection
>
<
telerik:ResourceType
Name
=
"PlanningStatus"
DisplayName
=
"Status"
>
<
telerik:Resource
ResourceName
=
"Planned"
/>
<
telerik:Resource
ResourceName
=
"Scheduled"
/>
</
telerik:ResourceType
>
</
telerik:ResourceTypeCollection
>
</
telerik:RadScheduleView.ResourceTypesSource
>
<
telerik:RadScheduleView.GroupDescriptionsSource
>
<
telerik:GroupDescriptionCollection
>
<
telerik:ResourceGroupDescription
ResourceType
=
"PlanningStatus"
/>
</
telerik:GroupDescriptionCollection
>
</
telerik:RadScheduleView.GroupDescriptionsSource
>
Additional info: I was playing around with different views and previously had a RadGanttChart in the UserControl. Commented it out and removed reverences to relevant telerik assembly.
0
Renier Pretorius
Top achievements
Rank 2
Iron
Iron
Iron
answered on 05 Aug 2013, 09:24 AM
I have solved this myself. From the online demos, the resource tag is not from the normal telerik http://schemas.telerik.com/2008/xaml/presentation namespace but rather a direct reference to the clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView assembly. This is not clear in the online documentation.
0
Hi Renier,
ResourceType and Resource should be found in the normal Telerik namespace defined like this:
I am not sure what is causing the issue, is it possible to send us a simple demo, so we can research it further?
Regards,
Yana
Telerik
ResourceType and Resource should be found in the normal Telerik namespace defined like this:
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
I am not sure what is causing the issue, is it possible to send us a simple demo, so we can research it further?
Regards,
Yana
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>