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

Ending Edit on Databoundgrid

Thread ID:





21784 Nov 21,2004 04:06 AM UTC Nov 21,2004 03:12 PM UTC WinForms 2
Tags: GridControl
Greg Shomette
Asked On November 21, 2004 04:06 AM UTC

Is there a way to commit changes to the underlying datatable while still in the cell on a new row. The problem is the user sometimes clicks the save button before leaving the cell or the row and the datatable is not aware of the changes in the new row when I call endedit on the datarow. Usually I set focus to a different control as a work around but sometime I cannot. I have tried grid.binder.endedit and grid.model.endedit with no luck.

Administrator [Syncfusion]
Replied On November 21, 2004 06:30 AM UTC

In your save button handler, try calling the form''s Validate method to see if this will take care of this problem.

Greg Shomette
Replied On November 21, 2004 03:12 PM UTC

this worked thanks!


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