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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC: Checkbox issue

Thread ID:

Created:

Updated:

Platform:

Replies:

68169 Sep 11,2007 08:05 AM UTC Sep 12,2007 09:12 AM UTC WinForms 1
loading
Tags: GridControl
Patrick Cheng
Asked On September 11, 2007 08:05 AM UTC

Hi,

I want to add a column to my ggc that is a checkbox. I create the column and issued its UIElement to be of type "Checkbox" and I can see the graphic. However, when I mouseover the checkbox, my application terminates, and I get the following exception:

System.ArgumentException: Parameter is not valid.
at System.Drawing.Graphics.GetHdc()
at System.Drawing.BufferedGraphics.RenderInternal(HandleRef refTargetDC, BufferedGraphics buffer)
at System.Drawing.BufferedGraphics.Render(Graphics target)
at Syncfusion.Drawing.DoubleBufferSurface.Render()
at Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControlOptimizeListChanged.PaintUpdatedRecordFields()
at Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControlOptimizeListChanged.UpdateThrottled()
at Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControlOptimizeListChanged.OnGridSourceListRecordChanged(Object sender, RecordChangedEventArgs rce)
at Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl.OnSourceListRecordChanged(RecordChangedEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl.Syncfusion.Grouping.ITableEventsTarget.OnSourceListRecordChanged(RecordChangedEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableModel.Syncfusion.Grouping.ITableEventsTarget.OnSourceListRecordChanged(RecordChangedEventArgs e)
at Syncfusion.Grouping.TableDescriptor.Syncfusion.Grouping.ITableEventsTarget.OnSourceListRecordChanged(RecordChangedEventArgs e)
at Syncfusion.Grouping.Table.RaiseSourceListRecordChanged(RecordChangedEventArgs rcea)
at Syncfusion.Grouping.Table.OnSourceListItemChanged(Object sender, ListChangedEventArgs e, TableListChangedEventArgs te)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.OnSourceListItemChanged(Object sender, ListChangedEventArgs e, TableListChangedEventArgs te)
at Syncfusion.Grouping.Table.NewBindingList_ListChanged(Object sender, ListChangedEventArgs e)

Please advise, thank you!

Jeba S [Syncfusion]
Replied On September 12, 2007 09:12 AM UTC

Hi Patrick,

Thank you for your details.

I am afraid that I was not able to reproduce the exception. I have created a sample to test the issue and it is available in the

following link.
http://websamples.syncfusion.com/samples/Grid.Windows/F68169/main.htm

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample or

send us the reproducing steps so that we could sort out the cause of the issue and provide you a solution?

Thank you for using Syncfusion Products.

Best Regards,
Jeba.


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

;