Hi, i have recently switched to 2012 Q3 and now the view throws an Exception when loading the radgridview in the UI. Any ideas?
Thanks in advance.
View :
<telerik:RadGridView x:Name="dg1"
Grid.Row="1" Grid.ColumnSpan="2"
ColumnWidth="*" UseLayoutRounding="False"
ItemsSource="{Binding FilterView}"
SelectionMode="Extended"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
AutoGenerateColumns="False" Margin="5" ShowGroupPanel="False"
RowIndicatorVisibility="Collapsed"
CanUserDeleteRows="False"
CanUserFreezeColumns="False"
CanUserInsertRows="False"
IsReadOnly="True"
IsFilteringAllowed="False">
<i:Interaction.Behaviors>
<Behaviors:RadGridViewMultiSelectorBehavior
SelectedItems="{Binding SelectedItems, Mode=TwoWay}" />
</i:Interaction.Behaviors>
<telerik:RadGridView.InputBindings>
<MouseBinding Gesture="LeftDoubleClick" Command="{Binding Edit}" />
</telerik:RadGridView.InputBindings>
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="{loc:Localize name, STV}" Width="*"
DataMemberBinding="{Binding Name}" />
<telerik:GridViewDataColumn Header="{loc:Localize type, STV}" Width="*"
DataMemberBinding="{Binding WorkflowInfo.DisplayName, Converter={StaticResource LocalizationConverter}, ConverterParameter=STV}" />
<telerik:GridViewDataColumn Header="{loc:Localize created, STV}"
DataMemberBinding="{Binding DateCreated, StringFormat='d', ConverterCulture={x:Static Globalization:CultureInfo.CurrentCulture}}"
Width="Auto" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
XAMLParseException ocurred
Add value to collection of type 'System.Windows.Controls.UIElementCollection' threw an exception.
Inner Exception: {"Value cannot be null.\r\nParameter name: element"}
Thanks in advance.
View :
<telerik:RadGridView x:Name="dg1"
Grid.Row="1" Grid.ColumnSpan="2"
ColumnWidth="*" UseLayoutRounding="False"
ItemsSource="{Binding FilterView}"
SelectionMode="Extended"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
AutoGenerateColumns="False" Margin="5" ShowGroupPanel="False"
RowIndicatorVisibility="Collapsed"
CanUserDeleteRows="False"
CanUserFreezeColumns="False"
CanUserInsertRows="False"
IsReadOnly="True"
IsFilteringAllowed="False">
<i:Interaction.Behaviors>
<Behaviors:RadGridViewMultiSelectorBehavior
SelectedItems="{Binding SelectedItems, Mode=TwoWay}" />
</i:Interaction.Behaviors>
<telerik:RadGridView.InputBindings>
<MouseBinding Gesture="LeftDoubleClick" Command="{Binding Edit}" />
</telerik:RadGridView.InputBindings>
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="{loc:Localize name, STV}" Width="*"
DataMemberBinding="{Binding Name}" />
<telerik:GridViewDataColumn Header="{loc:Localize type, STV}" Width="*"
DataMemberBinding="{Binding WorkflowInfo.DisplayName, Converter={StaticResource LocalizationConverter}, ConverterParameter=STV}" />
<telerik:GridViewDataColumn Header="{loc:Localize created, STV}"
DataMemberBinding="{Binding DateCreated, StringFormat='d', ConverterCulture={x:Static Globalization:CultureInfo.CurrentCulture}}"
Width="Auto" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
XAMLParseException ocurred
Add value to collection of type 'System.Windows.Controls.UIElementCollection' threw an exception.
Inner Exception: {"Value cannot be null.\r\nParameter name: element"}
at System.Windows.Markup.XamlReader.RewrapException(Exception e, Uri baseUri)<
br
>
at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)<
br
>
at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlObjectWriter objectWriter)<
br
>
at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)<
br
>
at System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren)<
br
>
at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)<
br
>
at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)<
br
>
at System.Windows.FrameworkElement.ApplyTemplate()<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)<
br
>
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)<
br
>
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Control.MeasureOverride(Size constraint)<
br
>
at Telerik.Windows.Controls.GridView.GridViewRowItem.MeasureOverride(Size availableSize)<
br
>
at Telerik.Windows.Controls.GridView.GridViewHeaderRow.MeasureOverride(Size availableSize)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)<
br
>
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)<
br
>
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)<
br
>
at Telerik.Windows.Controls.GridView.GridViewScrollViewer.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)<
br
>
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)<
br
>
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Border.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Control.MeasureOverride(Size constraint)<
br
>
at Telerik.Windows.Controls.GridView.GridViewDataControl.MeasureOverride(Size availableSize)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)<
br
>
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)<
br
>
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)<
br
>
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)<
br
>
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)<
br
>
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Control.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Control.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)<
br
>
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Border.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.Controls.Page.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)<
br
>
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)<
br
>
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)<
br
>
at System.Windows.UIElement.Measure(Size availableSize)<
br
>
at System.Windows.ContextLayoutManager.UpdateLayout()<
br
>
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)<
br
>
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()<
br
>
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()<
br
>
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)<
br
>
at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)<
br
>
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<
br
>
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)<
br
>
at System.Windows.Threading.DispatcherOperation.InvokeImpl()<
br
>
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)<
br
>
at System.Threading.ExecutionContext.runTryCode(Object userData)<
br
>
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)<
br
>
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)<
br
>
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)<
br
>
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<
br
>
at System.Windows.Threading.DispatcherOperation.Invoke()<
br
>
at System.Windows.Threading.Dispatcher.ProcessQueue()<
br
>
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)<
br
>
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)<
br
>
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)<
br
>
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<
br
>
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)<
br
>
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)<
br
>
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)<
br
>
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)<
br
>
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)<
br
>
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)<
br
>
at System.Windows.Application.RunDispatcher(Object ignore)<
br
>
at System.Windows.Application.RunInternal(Window window)<
br
>
at System.Windows.Application.Run(Window window)<
br
>
at System.Windows.Application.Run()<
br
>
at STV.Application.StartUp.Main(String[] args)