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.

CurrenctCellValidating not fired when editing and CellButtonClicked in GDBG

Thread ID:





45351 Jun 19,2006 05:06 AM Jun 19,2006 02:06 PM Windows Forms 1
Tags: GridControl
Asked On June 19, 2006 05:06 AM

Hi, I''m using a GridDataBoundGrid, and i only allow editing a line each time. The way i do it is showing an accept button (CellType = "PushButton") that ends the editing mode. The problem is that if i''m editing a cell and i click on the button the event CurrentCellValidating is not fired and the edited value is lost. How could i force this event to get fired before CellButtonClieckd event? Thank you

Administrator [Syncfusion]
Replied On June 19, 2006 02:06 PM

Hi Borja, Try calling the gridDataBoundGrid1.CurrentCell.EndEdit() before calling the Binder.EndEdit() to see if that helps. private void gridDataBoundGrid1_CellButtonClicked(object sender, GridCellButtonClickedEventArgs e) { this.gridDataBoundGrid1.CurrentCell.EndEdit(); this.gridDataBoundGrid1.Binder.EndEdit(); } Regards, Calvin.


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.