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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CurrenctCellValidating not fired when editing and CellButtonClicked in GDBG

Thread ID:





45351 Jun 19,2006 09:06 AM UTC Jun 19,2006 06:06 PM UTC WinForms 1
Tags: GridControl
Asked On June 19, 2006 09:06 AM UTC

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 06:06 PM UTC

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.

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