We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC custom Expand Collapse

Thread ID:

Created:

Updated:

Platform:

Replies:

47790 Aug 11,2006 04:31 PM UTC Aug 14,2006 05:15 AM UTC Windows Forms 1
loading
Tags: GridControl
Sivaiah Boppana
Asked On August 11, 2006 04:31 PM UTC

Hi
I am getting the following exception while I am trying to expand and collapse nested tables in GGC with custom Push Button column and I am not even able to catch this exception , Please help.

System.InvalidCastException: Specified cast is not valid.
at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.SetupRecordPlusMinusCell(GridTableCellStyleInfoIdentity e, GridTableCellStyleInfo style)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.SetupStyleInfo(GridTableCellStyleInfoIdentity e, GridTableCellStyleInfo style)
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.GetViewStyleInfo(Int32 rowIndex, Int32 colIndex, Boolean forceQueryCellInfo)
at Syncfusion.Windows.Forms.Grid.GridControlBase.GetPaintStyleInfo(Int32 rowIndex, Int32 colIndex, Boolean forceQueryCellInfo)
at Syncfusion.Windows.Forms.Grid.GridPaint.LoadSpannedCell(GridControlBase pGrid, Object pds, Int32 rowIndex, Int32 colIndex)
at Syncfusion.Windows.Forms.Grid.GridPaint.InternalLoadCell(DrawStruct ds, Int32 rowIndex, Int32 colIndex)
at Syncfusion.Windows.Forms.Grid.GridPaint.DrawClientRowCol(Int32 topRow, Int32 leftCol, Int32 bottomRow, Int32 rightCol, Graphics g, Rectangle rectClip)
catched at Syncfusion.Windows.Forms.Grid.GridPaint.DrawClientRowCol(Int32 topRow, Int32 leftCol, Int32 bottomRow, Int32 rightCol, Graphics g, Rectangle rectClip) in :line 0

Administrator [Syncfusion]
Replied On August 14, 2006 05:15 AM UTC

Hi Sivaiah,

Please try the attached sample that works fine on my system which has "Essential Studio 4.2 +.Net FrameWork 1.1/2.0+windows XP" installed . Let us know if you face any other issues.

Here is a sample
http://www.syncfusion.com/Support/user/uploads/CaptionPluasMinus_11be64f9.zip

Thanks for choosing Syncfusion products.
Best Regards,
Haneef

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;