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.
Unfortunately, activation email could not send to your email. Please try again.

Ending Edit on Databoundgrid

Thread ID:





21784 Nov 20,2004 11:06 PM Nov 21,2004 10:12 AM Windows Forms 2
Tags: GridControl
Greg Shomette
Asked On November 20, 2004 11:06 PM

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 01:30 AM

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 10:12 AM

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.

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.