Hello,
I've started using the RadSheduleView control.
I'm using it in a usercontrol. Something very simple.
And while the application is working at runtime I get an InvalidDesignerUpdateException :
System.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)
at Microsoft.Windows.Design.Platform.SilverlightViewProducer.OnViewUpdated()
Microsoft.Windows.Design.Platform.InvalidDesignerUpdateException
An unhandled exception was encountered while trying to render the current silverlight project on the design surface. To diagnose this failure, please try to run the project in a regular browser using the silverlight developer runtime.
For now the structure of my project is very simple.
I have a main page holding my planning control in a tab item.
And then my control:
No viewmodel, no data, nothing.
I removed everything to make sure it's only the ScheduleView causing the problem. Maybe it's a known issue.
The design view for the usercontrol gives me the exception but the main page holding the control does display correctly.
Anyway, just wanted to let you know,
John.
I've started using the RadSheduleView control.
I'm using it in a usercontrol. Something very simple.
And while the application is working at runtime I get an InvalidDesignerUpdateException :
System.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)
at Microsoft.Windows.Design.Platform.SilverlightViewProducer.OnViewUpdated()
Microsoft.Windows.Design.Platform.InvalidDesignerUpdateException
An unhandled exception was encountered while trying to render the current silverlight project on the design surface. To diagnose this failure, please try to run the project in a regular browser using the silverlight developer runtime.
For now the structure of my project is very simple.
I have a main page holding my planning control in a tab item.
<
telerik:RadTabItem
x:Name
=
"pagPlanning"
Visibility
=
"Collapsed"
>
<
ContentControl
HorizontalContentAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
>
<
my1:PlanningPage
/>
</
ContentControl
>
</
telerik:RadTabItem
>
And then my control:
<
UserControl
x:Class
=
"Ogaca.Views.PlanningPage"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:effects
=
"clr-namespace:Telerik.Windows.Controls.TransitionEffects;assembly=Telerik.Windows.Controls"
xmlns:my
=
"clr-namespace:Jkn.Web"
xmlns:app
=
"clr-namespace:Jkn"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"400"
>
<
telerik:RadScheduleView
>
<
telerik:RadScheduleView.ViewDefinitions
>
<
telerik:DayViewDefinition
/>
<
telerik:WeekViewDefinition
/>
<
telerik:TimelineViewDefinition
/>
<
telerik:MonthViewDefinition
/>
</
telerik:RadScheduleView.ViewDefinitions
>
</
telerik:RadScheduleView
>
</
UserControl
>
I removed everything to make sure it's only the ScheduleView causing the problem. Maybe it's a known issue.
The design view for the usercontrol gives me the exception but the main page holding the control does display correctly.
Anyway, just wanted to let you know,
John.