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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

FAQ item 5.76

Thread ID:




12623 Apr 5,2004 04:16 PM UTC WinForms 0
Tags: FAQ
Roger Dahl
Asked On April 5, 2004 04:16 PM UTC

I've found a couple of problems with FAQ item 5.76, "How can I get a CheckBox column in a DataGrid to react to the first click?" The solution gives the following error message if the mouse is clicked on one row and the pointer is moved to another column before it's released: The ListManager's position must be equal to rowNum. Parameter name: rowNum Do you want to correct the value? Also, the following error occurs if clicking outside any columns: An unhandled exception of type 'System.IndexOutOfRangeException'occurred in system.windows.forms.dll. Additional information: Index was outside the bounds of the array. I got it working by adding the following code after the line that initializes hti: if (hti.Row == -1 || hti.Column == -1 || hti.Row != dg.CurrentCell.RowNumber) return; Thanks, Roger Dahl


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon