Using the Group By Supervisor filter in YourSite Explorer, you...

Expand / Collapse
 

Using the Group By Supervisor filter in YourSite Explorer, you encounter an invalid Cast Exception error


Article ID:  - Last Review: December 20, 2012

PROBLEM

When you use the Group by Supervisor filter in YSE it throws an Invalid Cast Exception. 



SYMPTOMS

The YourSite Explorer log file will show an error like the following:

Error 12/18/2012 10:23:01 AM YSE:Thread Exception.
--- Start Exception Stack ---
System.InvalidCastException: Unable to cast object of type 'Syncfusion.Windows.Forms.Grid.Grouping.GridCaptionSection' to type 'Syncfusion.Windows.Forms.Grid.Grouping.GridCaptionRow'.
at YourSiteExplorer.Pages.EmployeeCategoryPage.HandleTableQueryCellStyleInfo(GridTableCellStyleInfoEventArgs e)
at YourSiteExplorer.Pages.CategoryPageBase.Table_QueryCellStyleInfo(Object sender, GridTableCellStyleInfoEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.OnQueryCellStyleInfo(GridTableCellStyleInfoEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.RaiseQueryCellStyleInfo(GridTableCellStyleInfoEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.CreateTableCellStyle(Element element, Int32 rowIndex, Int32 colIndex)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.GetTableCellStyle(Int32 rowIndex, Int32 colIndex)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.GetTableViewStyleInfo(Int32 rowIndex, Int32 colIndex)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.OnCellTipsMouseMove(MouseEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)
at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--- End Exception Stack --- 



RESOLUTION

We are aiming to resolve this issue in our upcoming Atlantic release.

Internal reference number (TFS) 96319 



APPLIES TO

CCM 6.0.1.1 

Keywords: group by supervisor filter YSE yoursite explorer invalid cast error



Rate this Article:
     

Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:Thursday, December 20, 2012
Last Modified By: amontpetit
Type: BUG
Article not rated yet.
Article has been viewed 5,268 times.
Options