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

Losting the inputted text box value when record updates

Thread ID:





118739 Apr 6,2015 01:22 PM UTC Apr 7,2015 02:14 PM UTC WinForms 1
Tags: GridGroupingControl
Marcos Luis de Jesus Santos
Asked On April 6, 2015 01:22 PM UTC

When i'm editing the cell through the text box control, I lost the inputted value when the record suffers a extern update.

My grid requires real-time updates on its static cells and needs be able to edit in some cells. These cells are edited through the textbox control that lost its value when the static cells are updated.

Is there a way to handle this behavior?

Venkatesh Sundaram [Syncfusion]
Replied On April 7, 2015 02:14 PM UTC

Hi Marcos,

Thank you for interest in Syncfusion Products.

By default, when editing the cell through Textbox control, the cell will not store the input text from the user because the text are loaded from the data source. So it will be replaced by the old values when the cells are updated. If we want to store the edited value, you need to use ForceImmediateSaveValue property. Please refer the below code snippet for clarification.


//Forces the GridGroupingControl to save the edited values while leaving the CurrentCell.

foreach (FieldDescriptor col in this.gridGroupingControl1.TableDescriptor.Fields)
this.gridGroupingControl1.TableDescriptor.Fields[col.Name].ForceImmediateSaveValue = true;

Please let you know if you have any other concerns,



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