Hello,
I have recently run into an issue where an exception gets thrown after reordering the columns in my grid (version 2009.1.312.35). I have column filtering enabled and have a couple of custom filters applied to the grid, such as a text box for searching the title and description of the objects that are bound to the grid. Whenever I drag and drop a column header to reorder the columns, I get the following exception. Is this a bug in the grid or am I doing something wrong in my code?
Here is part of the stack trace. Please let me know if you need any other information.
2009-03-23 11:40:19,481 [11] ERROR - Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Unable to cast object of type 'IRC.Gear.WorkItemManager.Controls.Filters.TitleDescriptionFilter' to type 'Telerik.Windows.Data.FieldFilterDescription'.
at Telerik.Windows.Controls.GridView.GridViewDataControl.AssignFilterDescriptionsToControls()
at Telerik.Windows.Controls.GridView.GridViewItemsControl.ReorderColumns(Int32 oldIndex, Int32 newIndex)
at Telerik.Windows.Controls.GridView.GridViewItemsControl.ColumnsReorderingRequested(Object sender, RadRoutedEventArgs e)
Thanks,
Joel
I have recently run into an issue where an exception gets thrown after reordering the columns in my grid (version 2009.1.312.35). I have column filtering enabled and have a couple of custom filters applied to the grid, such as a text box for searching the title and description of the objects that are bound to the grid. Whenever I drag and drop a column header to reorder the columns, I get the following exception. Is this a bug in the grid or am I doing something wrong in my code?
Here is part of the stack trace. Please let me know if you need any other information.
2009-03-23 11:40:19,481 [11] ERROR - Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Unable to cast object of type 'IRC.Gear.WorkItemManager.Controls.Filters.TitleDescriptionFilter' to type 'Telerik.Windows.Data.FieldFilterDescription'.
at Telerik.Windows.Controls.GridView.GridViewDataControl.AssignFilterDescriptionsToControls()
at Telerik.Windows.Controls.GridView.GridViewItemsControl.ReorderColumns(Int32 oldIndex, Int32 newIndex)
at Telerik.Windows.Controls.GridView.GridViewItemsControl.ColumnsReorderingRequested(Object sender, RadRoutedEventArgs e)
Thanks,
Joel