This question is locked. New answers and comments are not allowed.
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)
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 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)
This exception occurs on line this.filteringRow.CustomFilterRowRoot.Children.Add(indicatorFiller);
Thank's in advance.