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

Problem: clicking a cell button after changing a value in an adjacent numeric cell cancels the change to the numeric cell.

Thread ID:





15968 Jul 1,2004 01:43 PM UTC Jul 1,2004 02:36 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On July 1, 2004 01:43 PM UTC

I have a weird situation here. I have a row with a numeric value and a button cell. If I change the value in the numeric cell, and then click the button cell next to it (without first tabbing out or clicking outside the numeric cell), the event handler for the button cell still sees the old value in the numeric cell. In otherwords, I have to first tab out or click outside of the numeric cell *before* clicking the button cell, or else the value in the numeric cell won''t be the new one. How to I fix this problem?

Administrator [Syncfusion]
Replied On July 1, 2004 02:36 PM UTC

It may be the cell button click is being triggerred before the cell has had a chance to save its changes. If so, in your button handler, try calling this.gridDataBoundGrid1.CurrentCell.ConfirmChanges(); before you try to access the cell value.


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