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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

trouble saving modified cell value

Thread ID:

Created:

Updated:

Platform:

Replies:

6029 Jul 29,2003 12:16 PM UTC Jul 29,2003 03:54 PM UTC WinForms 1
loading
Tags: GridControl
Lan Lu
Asked On July 29, 2003 12:16 PM UTC

I have two DataBoundGrid and have code to cause one grid value to change after a corresponding cell value has changed in the other grid. If I change the cell value of the first grid the second grid would update and then if I change the second grid the first grid cell would update. However I cannot change the first grid twice in a row and. If I change the cell value in the first grid after having successfully done so one time, the second time I will get a msgbox "Can not set value". This msg is coming from the OnSaveChanges method of the cell render. There must be a property that changed after the first update which disallows me to change the cell value again, but I don't know what property that would be. Any help would be appreciated.

Administrator [Syncfusion]
Replied On July 29, 2003 03:54 PM UTC

Are the two grids bound to separate datasources? What kind of code are you using to set values in the opposite grid? Are you calling things like grid.CurrentCell.EndEdit() and grid.Binder.EndEdit() to make sure the change on the source grid is flush to its datasource and the currentcell is in a 'good' state? The GridDataBoundGrid just reflects the data in its DataSource. So, one way to do something like this is to just change the datasource directly if you have access to it.

CONFIRMATION

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.

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

;