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

Opening a RadScheduleView in Expression Blend

1 Answer 63 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Rosco
Top achievements
Rank 1
Rosco asked on 27 Sep 2011, 01:35 AM
I am currently trying to style appointments as part of the RadScheduleView in Silverlight as described here http://www.telerik.com/help/wpf/radscheduleview-styles-and-templates-appointment-style.html#_Using_the_AppointmentStyleSelector_to_style_Appointments

How do I open the instance of RadScheduler in blend? I have tried to open up the entire solution in Expression Blend, however I get the following error when I try to load up the XAML containing the RadScheduleView.

ArgumentException: Value does not fall within the expected range.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
at MS.Internal.XcpImports.UIElement_UpdateLayout(UIElement element)

Removing the RadScheduleView from the XAML gets rid of this error. Any idea of what's going on?

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 30 Sep 2011, 08:58 AM
Hi,

I am sorry for the inconvenience. Sometimes Blend fails to create the Styles and ControlTemplate for an object. You could try to get the theme resource dictionary for RadScheduleView from here:

C:\Program Files (x86)\Telerik\RadControls for Silverlight Q2 2011\Themes\OfficeBlack\Themes\Office\Black\ScheduleView.xaml

Note that probably your installation path would differ on your computer. You could merge it in your app.xaml file and edit the resources within.

Kind regards,
Pana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ScheduleView
Asked by
Rosco
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or