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

Getting Exception

I am using GridDataBoundGrid.In that i bound a column to the INT type data Column.When I enter some integer value in that column,and delete that value and moving to the next cell its giving the following exception: "System.FormatException: Input string was not in a correct format." Even its raising before the CurrentCellAcceptchanges Event & CurrentCellEditingCompleted event. So How to handle this? Please help Jitendra

1 Reply

AD Administrator Syncfusion Team March 31, 2005 11:14 AM UTC

Are you using I do not see this behavior in that release. You can use the CurrentCellValidating event to catch things before this exception is raised. You can get the new text to test using grid.CurrentCell.renderer.ControlText in that event.

Live Chat Icon For mobile
Up arrow icon