This is probably not specifically a GridView problem, but...
I've had a page which has worked fine and I've edited it using Blend 3, but now I'm getting errors when trying to display it in Blend 3.
The error is 'Value does fall within the expected range' and a full stack trace indicates that it's in MS.Internal.XcpImports.Collection_insertValue....
The only thing (famous last words) that I've done recently is change some of the references in the project.
This is driving me mad, as I can't now edit the layout using Blend! Does anyone have any ideas?
The XAML code is below - the parser puts error underlines underneath the initial navigation:Page.
Thanks,
James
I've had a page which has worked fine and I've edited it using Blend 3, but now I'm getting errors when trying to display it in Blend 3.
The error is 'Value does fall within the expected range' and a full stack trace indicates that it's in MS.Internal.XcpImports.Collection_insertValue....
The only thing (famous last words) that I've done recently is change some of the references in the project.
This is driving me mad, as I can't now edit the layout using Blend! Does anyone have any ideas?
The XAML code is below - the parser puts error underlines underneath the initial navigation:Page.
<navigation:Page |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
mc:Ignorable="d" |
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" |
xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" |
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
xmlns:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" |
x:Class="GlastirSLApplication2.UserWorkdesk" |
Title="Glastir Home" |
d:DesignWidth="640" d:DesignHeight="480" |
x:Name="UserWorkdesk1"> |
<Grid x:Name="LayoutRoot1" > |
<Grid.ColumnDefinitions> |
<ColumnDefinition Width="0.12*"/> |
<ColumnDefinition Width="0*"/> |
<ColumnDefinition Width="0.88*"/> |
</Grid.ColumnDefinitions> |
<telerikNavigation:RadMenu Height="145" Orientation="Vertical" VerticalAlignment="Top" d:LayoutOverrides="Height, VerticalMargin" Grid.ColumnSpan="2"> |
<telerikNavigation:RadMenuItem x:Name="mnuOpen" Header="Open" Tag="/CaseWorkdesk" Click="mnuClick"/> |
<telerikNavigation:RadMenuItem Header="Close" /> |
<telerikNavigation:RadMenuItem Header="Cancel" /> |
<telerikNavigation:RadMenuItem Header="Release" /> |
</telerikNavigation:RadMenu> |
<telerikGridView:RadGridView x:Name="grdCases" AutoGenerateColumns="False" IsReadOnly="True" Margin="4,0,0,0" Grid.Column="2"> |
<telerikGridView:RadGridView.Columns> |
<telerikGridView:GridViewDataColumn Header="Case Number" DataMemberPath="CaseNumber" Width="200"/> |
<telerikGridView:GridViewDataColumn Header="CRN" DataMemberPath="CRN" Width="100"/> |
<telerikGridView:GridViewDataColumn Header="SRN" DataMemberPath="SRN" Width="100"/> |
<telerikGridView:GridViewDataColumn Header="Status" DataMemberPath="EditStatus" Width="200"/> |
<telerikGridView:GridViewDataColumn Header="Created" DataMemberPath="Created" Width="250"/> |
</telerikGridView:RadGridView.Columns> |
</telerikGridView:RadGridView> |
</Grid> |
</navigation:Page> |
Thanks,
James