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

Checkbox issue in GridDataBoundGrid

Hi,
We are using the GrdDataBoundGrid. We have total of 3 grids on the screen and the lower LHS grid is disabled grid except the last column which is a checkbox column. Whenever the checkbox is clicked and cursor is placed somewhere on the same grid then the checkbox is shown as checked.
But whenever the checkbox is checked and cursor is placed somewhere on the other grids then the user action is undone and the checkbox appears as unchecked.
Could you please help me. Thanks a lot in advance.


Checkbox Issue.zip

1 Reply

AD Administrator Syncfusion Team August 8, 2007 07:27 PM UTC

When you click into a control that has its CausesValidation property set true, then the original GridDataBoundGrid should be validated, and this should cause the checkboxcell value to be saved back to the DataSource.

So, some things ot check are:

1) Are you clicking into a control that has CauseValidation = true?

2) if this is an unbound checkbox column, then you should check whether your code in SaveCellInfo where you persist the unbound value is being hit.

3) Are you doing any validation on the GridDataBoundGrid? If so, is your validation code being hit when you click off the grid and is it validating as you expect?

Loader.
Live Chat Icon For mobile
Up arrow icon