This is a migrated thread and some comments may be shown as answers.

Visual Studio Crash

3 Answers 79 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 24 Feb 2012, 02:45 PM
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

<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.

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 28 Feb 2012, 10:51 AM
Hello Josh,

Thank you for sending the detailed report. We are aware of this issue with MajorTickLength/MinorTickLength properties and it is logged for fixing.

Regards,
Yana
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Denis
Top achievements
Rank 1
answered on 06 Dec 2012, 04:00 PM
Hi,

is there anything new about this issue? I am using Version 2012.3.1017.1050 with VS 2012 and I have the same problem. 

Regards

Denis
0
Yana
Telerik team
answered on 10 Dec 2012, 11:02 AM
Hello Denis,

I am afraid that this issue is not fixed yet. We will raise its priority.

Thank you for your patience.

Regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Josh
Top achievements
Rank 1
Answers by
Yana
Telerik team
Denis
Top achievements
Rank 1
Share this question
or