Just start working with RadGridView and faced this issue in Design time, in runtime everything is working fine. For example this simple scenario from documentation.
All other control work fine both in design time and runtime.
I'm using Visual studio 2012 Update 3. Telerik 2013.2.611.45.Trial
Error information:
System.NullReferenceException
Object reference not set to an instance of an object.
at Microsoft.Expression.WpfPlatform.WpfPlatformMetadata.ShouldTrimSurroundingWhiteSpace(IType typeId)
at Microsoft.Expression.Markup.XamlParser.ParseContent(XamlParserContext parserContext, IDocumentNodeReference
...............
or sometimes this error:
System.ArgumentException
Property 'System.Object ItemsSource' is not defined for type 'Telerik.Windows.Controls.RadGridView'
at System.Linq.Expressions.Expression.Property(Expression expression, PropertyInfo property)
at System.Linq.Expressions.Expression.Property(Expression expression, MethodInfo propertyAccessor)
at Telerik.Windows.Controls.GridView.Design.GridViewDataControlMetadata.AddDefaultAttributes(AttributeCallbackBuilder builder)
..........
Kind regards, Denis
All other control work fine both in design time and runtime.
I'm using Visual studio 2012 Update 3. Telerik 2013.2.611.45.Trial
<
UserControl
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
x:Class
=
"MyAppNameHere.Desktop.View.UsersControl"
xmlns:viewModel
=
"clr-namespace:Toto.Desktop.ViewModel"
mc:Ignorable
=
"d"
d:DataContext
=
"{d:DesignInstance Type=viewModel:UsersVm}"
d:DesignHeight
=
"300"
d:DesignWidth
=
"600"
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
telerik:RadGridView
x:Name
=
"radGridView"
/>
</
Grid
>
</
UserControl
>
Error information:
System.NullReferenceException
Object reference not set to an instance of an object.
at Microsoft.Expression.WpfPlatform.WpfPlatformMetadata.ShouldTrimSurroundingWhiteSpace(IType typeId)
at Microsoft.Expression.Markup.XamlParser.ParseContent(XamlParserContext parserContext, IDocumentNodeReference
...............
or sometimes this error:
System.ArgumentException
Property 'System.Object ItemsSource' is not defined for type 'Telerik.Windows.Controls.RadGridView'
at System.Linq.Expressions.Expression.Property(Expression expression, PropertyInfo property)
at System.Linq.Expressions.Expression.Property(Expression expression, MethodInfo propertyAccessor)
at Telerik.Windows.Controls.GridView.Design.GridViewDataControlMetadata.AddDefaultAttributes(AttributeCallbackBuilder builder)
..........
Kind regards, Denis