Hi,
I have a gridview with rows added at runtime. i have some 5 radcheckbox columns. I wish to detect changes made to checkbox columns. i.e checked state.
I am trying to use the cell_beginedit and cell_endedit events.
I am using 2010 Q1
Problems:
Begin event fires perfectly on first checkbox checked state change. After the event finishes the end event must fire. It only fires whence i change checked box state in another row. else on the same row same checked box cell it wont fire. If i change state of a checkbox cell continuosuly , the beginedit event only fires the first time, next time it doesn't fires because the editor hasn't ended.
I tried to close the editor myself in the begin edit event but nothing happens.
Any solution to this problem. Please provide a solution using this event only as i wish to cancel out editing event if worked not performed as expected.
Thank you.
I have a gridview with rows added at runtime. i have some 5 radcheckbox columns. I wish to detect changes made to checkbox columns. i.e checked state.
I am trying to use the cell_beginedit and cell_endedit events.
I am using 2010 Q1
Problems:
Begin event fires perfectly on first checkbox checked state change. After the event finishes the end event must fire. It only fires whence i change checked box state in another row. else on the same row same checked box cell it wont fire. If i change state of a checkbox cell continuosuly , the beginedit event only fires the first time, next time it doesn't fires because the editor hasn't ended.
I tried to close the editor myself in the begin edit event but nothing happens.
void
gvLiveCnns_CellBeginEdit(
object
sender, GridViewCellCancelEventArgs e)
{
// Do some work, cancel event if work not performed as expected
this
.gvLiveCnns.EndEdit();
this
.gvLiveCnns.ActiveEditor.EndEdit();
this
.gvLiveCnns.CloseEditor();
}
Any solution to this problem. Please provide a solution using this event only as i wish to cancel out editing event if worked not performed as expected.
Thank you.