Home › Forums › WinForms controls › Xceed Grid for WinForms › An attempt was made to select a row that does not belong… › Reply To: An attempt was made to select a row that does not belong…
Some exceptions are managed by the grid itself. Sometimes, the grid can’t handle the exception and it cascades to a higher level.
To be able to see all exceptions that the grid could be trying to manage, do the following: (if you are using Visual Studio 2008), you should *UNCHECK* Tools -> Options -> Debugging -> Enable Just My Code and you should *CHECK* Debug -> Exceptions -> Common Language Runtime Exceptions Thrown [ ] This will allow you to see what exception is thrown and why.
From this point, you should be able to trap the exceptions that you could not without these settings.
Once that the code has been revised and corrected, it is recommended to *UNCHECK* Debug -> Exceptions -> Common Language Runtime Exceptions Thrown [ ] or otherwise, you are at risk of seeing exceptions that you don’t want to see. ( http://xceed.com/CS/forums/thread/2983.aspx and http://xceed.com/CS/forums/thread/21522.aspx )
Imported from legacy forums. Posted by Ghislain (had 2241 views)