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

[Solved] Problem using custom filtering row with RadDataPager

2 Answers 103 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alexey
Top achievements
Rank 1
Alexey asked on 06 Nov 2010, 11:56 AM
Hi. I am using custom filtering row for RadGridView with RadDataPager. For custom filtering row I've get sample from Q3 and without RadDataPager it works fine. But when I add RadDataPager and linked it to RadGridView I've got exception:
at MS.Internal.XcpImports.CheckHResult(UInt32 hr) 
at MS.Internal.XcpImports.Collection_AddValue[T](PresentationFrameworkCollection`1 collection, CValue value)
at MS.Internal.XcpImports.Collection_AddDependencyObject[T](PresentationFrameworkCollection`1 collection, DependencyObject value)
at System.Windows.PresentationFrameworkCollection`1.AddDependencyObject(DependencyObject value)
at System.Windows.Controls.UIElementCollection.AddInternal(UIElement value)
at System.Windows.PresentationFrameworkCollection`1.Add(T value)
at MyProject.CustomFilterRow.CustomFilterRow.radGridView_RowLoaded(Object sender, RowLoadedEventArgs e)
at Telerik.Windows.Controls.GridView.GridViewDataControl.OnRowLoaded(RowLoadedEventArgs e)
at Telerik.Windows.Controls.GridView.GridViewDataControl.RaiseRowLoaded(GridViewRowItem row)
at Telerik.Windows.Controls.GridView.GridViewRowItem.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.Collection_AddValue[T](PresentationFrameworkCollection`1 collection, CValue value)
   at MS.Internal.XcpImports.Collection_AddDependencyObject[T](PresentationFrameworkCollection`1 collection, DependencyObject value)
   at System.Windows.PresentationFrameworkCollection`1.AddDependencyObject(DependencyObject value)
   at System.Windows.Controls.UIElementCollection.AddInternal(UIElement value)
   at System.Windows.PresentationFrameworkCollection`1.Add(T value)
   at FlowSL.CustomFilterRow.CustomFilterRow.radGridView_RowLoaded(Object sender, RowLoadedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnRowLoaded(RowLoadedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.RaiseRowLoaded(GridViewRowItem row)
   at Telerik.Windows.Controls.GridView.GridViewRowItem.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
This exception occurs on line this.filteringRow.CustomFilterRowRoot.Children.Add(indicatorFiller);
Thank's in advance.

at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.Collection_AddValue[T](PresentationFrameworkCollection`1 collection, CValue value)
   at MS.Internal.XcpImports.Collection_AddDependencyObject[T](PresentationFrameworkCollection`1 collection, DependencyObject value)
   at System.Windows.PresentationFrameworkCollection`1.AddDependencyObject(DependencyObject value)
   at System.Windows.Controls.UIElementCollection.AddInternal(UIElement value)
   at System.Windows.PresentationFrameworkCollection`1.Add(T value)
   at FlowSL.CustomFilterRow.CustomFilterRow.radGridView_RowLoaded(Object sender, RowLoadedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnRowLoaded(RowLoadedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.RaiseRowLoaded(GridViewRowItem row)
  
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.Collection_AddValue[T](PresentationFrameworkCollection`1 collection, CValue value)
   at MS.Internal.XcpImports.Collection_AddDependencyObject[T](PresentationFrameworkCollection`1 collection, DependencyObject value)
   at System.Windows.PresentationFrameworkCollection`1.AddDependencyObject(DependencyObject value)
   at System.Windows.Controls.UIElementCollection.AddInternal(UIElement value)
   at System.Windows.PresentationFrameworkCollection`1.Add(T value)
   at FlowSL.CustomFilterRow.CustomFilterRow.radGridView_RowLoaded(Object sender, RowLoadedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnRowLoaded(RowLoadedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.RaiseRowLoaded(GridViewRowItem row)
   at Telerik.Windows.Controls.GridView.GridViewRowItem.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
at Telerik.Windows.Controls.GridView.GridViewRowItem.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.Collection_AddValue[T](PresentationFrameworkCollection`1 collection, CValue value)
   at MS.Internal.XcpImports.Collection_AddDependencyObject[T](PresentationFrameworkCollection`1 collection, DependencyObject value)
   at System.Windows.PresentationFrameworkCollection`1.AddDependencyObject(DependencyObject value)
   at System.Windows.Controls.UIElementCollection.AddInternal(UIElement value)
   at System.Windows.PresentationFrameworkCollection`1.Add(T value)
   at FlowSL.CustomFilterRow.CustomFilterRow.radGridView_RowLoaded(Object sender, RowLoadedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnRowLoaded(RowLoadedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.RaiseRowLoaded(GridViewRowItem row)
   at Telerik.Windows.Controls.GridView.GridViewRowItem.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.Collection_AddValue[T](PresentationFrameworkCollection`1 collection, CValue value)
   at MS.Internal.XcpImports.Collection_AddDependencyObject[T](PresentationFrameworkCollection`1 collection, DependencyObject value)
   at System.Windows.PresentationFrameworkCollection`1.AddDependencyObject(DependencyObject value)
   at System.Windows.Controls.UIElementCollection.AddInternal(UIElement value)
   at System.Windows.PresentationFrameworkCollection`1.Add(T value)
   at FlowSL.CustomFilterRow.CustomFilterRow.radGridView_RowLoaded(Object sender, RowLoadedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnRowLoaded(RowLoadedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.RaiseRowLoaded(GridViewRowItem row)
   at Telerik.Windows.Controls.GridView.GridViewRowItem.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)

2 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 08 Nov 2010, 10:24 AM
Hi Alexey,

Please, open a separate support ticket and attach the code that causes this exception. We need to debug it in order to see what is going on.

Thanks in advance. We are looking forward to hearing from you.

Sincerely yours,
Ross
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
Alexey
Top achievements
Rank 1
answered on 08 Nov 2010, 06:02 PM
Hi, I posted this bug with attached solution with ticket ID 364470.
Tags
GridView
Asked by
Alexey
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Alexey
Top achievements
Rank 1
Share this question
or