I'm doing Migration from Radscheduler.
i have defined the View Definitions but i've still the message "Please Select a view définition".
<
telerik:RadScheduleView
x:Name
=
"EmployeeScheduler"
>
<
telerik:RadScheduleView.ViewDefinitions
>
<
telerik:MonthViewDefinition
/>
</
telerik:RadScheduleView.ViewDefinitions
>
</
telerik:RadScheduleView
>
The view button appeared but his Title is not correct.
In my case it must be the month View.
Can you help me please ?
Thanks
Mathieu
8 Answers, 1 is accepted
Most probably you are referencing both Scheduler and ScheduleView assemblies and the XAML parser tries to load the MonthViewDefinition class from the Scheduler assembly... I would recommend removing the reference to the Scheduler assembly.
Kind regards,
Valeri Hristov
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
So i can't use into my solution one project with scheduler and one project with ScheduleView ?
That's it ?
Mathieu
You can but you will have to take extra care of the namespaces and more precisely the assemblies.
<
UserControl
x:Class
=
"SilverlightApplication3.MainPage"
mc:Ignorable
=
"d"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:scheduleView
=
"clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView"
d:DesignHeight
=
"300"
d:DesignWidth
=
"400"
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
telerik:RadScheduleView
Grid.Row
=
"0"
>
<
telerik:RadScheduleView.AppointmentsSource
>
<
telerik:ObservableAppointmentCollection
/>
</
telerik:RadScheduleView.AppointmentsSource
>
<
telerik:RadScheduleView.ViewDefinitions
>
<
scheduleView:DayViewDefinition
/>
<
scheduleView:WeekViewDefinition
/>
<
scheduleView:MonthViewDefinition
/>
<
scheduleView:TimelineViewDefinition
/>
</
telerik:RadScheduleView.ViewDefinitions
>
</
telerik:RadScheduleView
>
<
telerik:RadScheduler
Grid.Row
=
"1"
/>
</
Grid
>
</
UserControl
>
Regards,
Pana
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
I succeded in display appointments.
But when i try to change the Title of one of the view definitions, i had a bad display.
<
telerik:RadScheduleView
x:Name
=
"EmployeeScheduler"
AppointmentsSource
=
"{Binding AppointmentList, Mode=TwoWay}"
NavigationHeaderVisibility
=
"Visible"
ActiveViewDefinitionIndex
=
"2"
>
<
telerik:RadScheduleView.ViewDefinitions
>
<
scheduleView:DayViewDefinition
Title
=
"Jour"
/>
<
scheduleView:WeekViewDefinition
/>
<
scheduleView:MonthViewDefinition
/>
<
scheduleView:TimelineViewDefinition
/>
</
telerik:RadScheduleView.ViewDefinitions
>
</
telerik:RadScheduleView
>
Have you got an idea ?
Thanks
Mathieu
We are localizing the title of the view definition in the control template of the RadScheduleView which does not seem such a good idea now. We will take a look into the header and try to fix the problem for one of the upcoming internal builds.
Best wishes,
Pana
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
Ok. It will be fixed for the service pack in September ?
Thank you
Kind regards,
Valeri Hristov
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
I have double checked both the latest release and the 2011.1.419 version of the RadScheduleView but they both seem to work fine. However in your example you have a custom styles for the RadScheduleView. Could you try the SP2 release dlls with your project and send us the RadScheduleView xaml you are using so we can reproduce the problem here?
Greetings,
Pana
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!