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

editable text fields

Thread ID:





22523 Dec 14,2004 09:02 PM UTC Dec 14,2004 11:15 PM UTC WinForms 1
Tags: GridControl
James Tran
Asked On December 14, 2004 09:02 PM UTC

I have a text field in a grid control where the user can enter a value and then click a button (button is also in the grid control). If the field currently has a value of 5 and the user enters 6 and then clicks on the button, the value of the text field that is read is still 5. Doesn''t clicking on the button causes the text field to lose focus and hence save the value 6? The user must enter the 6 and then tab to another cell or hit enter to commit the 6 and then hit the button. How can I fix this problem?

Administrator [Syncfusion]
Replied On December 14, 2004 11:15 PM UTC

In your click event handler, try calling grid.Currentcell.ConfirmChanges.


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