This question is locked. New answers and comments are not allowed.
I'm having difficulties working with the latest version of the ScheduleView (2012.1.0215.1050). Whenever I start modifying the xaml for the ScheduleView control, Visual Studio crashes. Here are the simple steps I'm doing.
Create a new Silverlight 5 project.
Add the Telerik references.
In the xaml, add the telerik namespace reference.
In the layout root, paste the following code
As soon as I paste that code in, Visual Studio locks up.
If I type the code out, as soon as I close out the DayViewDefinition element, Visual Studio again locks up.
So I figured maybe somehow I'm missing a critical reference or something, so I opened up the Demos that Telerik ships with. In the ScheduleView project, I created a new UserControl in the TVSchedule folder, starting typing out the same code, and once again VS froze when I closed the DayViewDefinition tag.
Is there something I'm doing wrong?? How is telerik causing VS to crash??
UPDATE:
I've determined that the crash happens when assigning the MinorTickLength property to the DayViewDefinition. If I leave out the property, everything runs fine. But as soon as I type in "MinorTickLength=", VS crashes.
Create a new Silverlight 5 project.
Add the Telerik references.
In the xaml, add the telerik namespace reference.
In the layout root, paste the following code
<
telerik:RadScheduleView
x:Name
=
"scheduler"
Grid.Row
=
"0"
Grid.Column
=
"1"
AppointmentsSource
=
"{Binding VehicleCollection, Mode=TwoWay}"
>
<
telerik:RadScheduleView.ViewDefinitions
>
<
telerik:DayViewDefinition
DayStartTime
=
"05:00:00"
DayEndTime
=
"21:00:00"
MinorTickLength
=
"0:15:0"
LargeChangeInterval
=
"2d"
/>
<
telerik:WeekViewDefinition
DayStartTime
=
"05:00:00"
DayEndTime
=
"21:00:00"
MinorTickLength
=
"0:15:0"
LargeChangeInterval
=
"7d"
/>
<
telerik:MonthViewDefinition
VisibleDays
=
"42"
SmallChangeInterval
=
"7d"
LargeChangeInterval
=
"1m"
/>
</
telerik:RadScheduleView.ViewDefinitions
>
</
telerik:RadScheduleView
>
As soon as I paste that code in, Visual Studio locks up.
If I type the code out, as soon as I close out the DayViewDefinition element, Visual Studio again locks up.
So I figured maybe somehow I'm missing a critical reference or something, so I opened up the Demos that Telerik ships with. In the ScheduleView project, I created a new UserControl in the TVSchedule folder, starting typing out the same code, and once again VS froze when I closed the DayViewDefinition tag.
Is there something I'm doing wrong?? How is telerik causing VS to crash??
UPDATE:
I've determined that the crash happens when assigning the MinorTickLength property to the DayViewDefinition. If I leave out the property, everything runs fine. But as soon as I type in "MinorTickLength=", VS crashes.