This is a migrated thread and some comments may be shown as answers.

CheckBox Columns Not Updating when changes Rejected

1 Answer 257 Views
GridView
This is a migrated thread and some comments may be shown as answers.
miacoviello
Top achievements
Rank 1
miacoviello asked on 26 Jun 2007, 07:51 AM
Hi, I have a grid which is bound to a data table, with the event trapped for DataColumnChanged on the table.

One of the columns is a checkbox column bound to a boolean field in the table.  When the Changed event is triggered, I sometimes have to reject the changes that are propsed on the datatable.  The datatable accepts the rejection, but the checkbox is still in the proposed changed state (checked or unchecked).

I had to workaround the issue after trying to refresh/update even with datasource (which did not update the checkbox view) to forcefully going into the grid.gridelement.gridviewinfo.currentrow.cells("myfield").value and setting it to either true or false.

I'm pretty sure this is a bug, since the view in the screen no longer reflects the state of the datatable when proposed changes are rejected.

Anyone experience this issue before?

Thanks,
Michael Iacoviello

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 28 Jun 2007, 02:34 PM
We are sorry for the inconvenience, miacoviello, but currently we do not provide the ability to cancel changes. This is by design, but we will improve the behavior in the upcoming SP2 release.


All the best,
Georgi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
miacoviello
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or