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

ScheduleView throws exception when working with Expression Blend 4

3 Answers 69 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Peter Wang
Top achievements
Rank 1
Peter Wang asked on 18 May 2011, 11:00 PM
ScheduleView throws exception when working from Expression Blend 4

The Project has nothing except one control ScheduleView within UserControl of MainPage.
The project is built successfully.

However the design view of expression blend 4 shows "An Exception was thrown"
Stack Trace:
at MS.Internal.XcpImports.CheckHResult(U32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size a)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single width, Single ...

If comment out ScheduleView, it won't throw exception.
It works fine with Visual Studio 2010 SL4 SDK SL Tool.
It runs fine from within Visual Studio 2010 SL4 SDK SL Tool.

The control is build from your source code.

What I actually need is your office black theme.
Your themes under source code is not standard one which include <%silverlight%><%WPF%> every where, makes a simple copy not eligible.

Regards,
Peter

3 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 20 May 2011, 12:19 PM
Hello Peter,

We could not reproduce the issue. Attached is a short movie of the successful editing of the control template of RadScheduleView. Version of RadControls is  2011 Q1 SP1 (2011.1.419), version of Blend is 4.0.20525.0.

I have also attached the Office Black theme resources for RadScheduleView.  On your local machine, you could get the same file from: <RadControls installation folder>/Themes/OfficeBlack/Themes/Office/Black ; the file is ScheduleView.xaml

I hope the attached resources will help you in any customization you wish to make.


Regards,
Dani
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Peter Wang
Top achievements
Rank 1
answered on 20 May 2011, 05:21 PM
Hi Dani,

I can still reproduce it even under same versions of Telerik and Expression Blender 4 as yours.

My laptop is WIndows 7 Enterprise 32-bit with aero-theme turned on.
.Net Framwork 4 installed.
Silverlight Plugin version is 4.0.50826.0.(developer runtime)


Thanks,
Peter
0
Pana
Telerik team
answered on 25 May 2011, 03:11 PM
Hi,

We will investigate further that issue but currently we are not able to provide you a workaround.

All the best,
Pana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ScheduleView
Asked by
Peter Wang
Top achievements
Rank 1
Answers by
Dani
Telerik team
Peter Wang
Top achievements
Rank 1
Pana
Telerik team
Share this question
or