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

Checkbox issue in GridDataBoundGrid

Thread ID:





67078 Aug 8,2007 11:53 AM UTC Aug 8,2007 07:27 PM UTC WinForms 1
Tags: GridControl
Asked On August 8, 2007 11:53 AM UTC

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

Administrator [Syncfusion]
Replied On 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?


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