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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CheckBox cells

Thread ID:

Created:

Updated:

Platform:

Replies:

672 Jul 25,2002 05:23 AM UTC Aug 20,2002 07:30 AM UTC Windows Forms 5
loading
Tags: GridControl
Cyrille Claustre
Asked On July 25, 2002 05:23 AM UTC

When a checkbox cell is in a grid control, it automatically unckecks when loosing focus. Is there a method to call to validate the changes ? I can't understand what happens.

Clay Burch [Syncfusion]
Replied On July 25, 2002 05:31 AM UTC

This is a bug introduced into RC2. It will be corrected in the release. In the meantime, in some circumstances handling the CurrentCellChanged event in the manner below avoids this problem. Sorry for the inconvenience.
Private Sub GridControl1_CurrentCellChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridControl1.CurrentCellChanged
        If Me.GridControl1.CellRenderers("CheckBox") Is Me.GridControl1.CurrentCell.Renderer Then
            Me.GridControl1.CurrentCell.Deactivate(True)
           ’ Console.WriteLine("GridControl1_CurrentCellChanged")
        End If
End Sub

Cyrille Claustre
Replied On July 25, 2002 10:01 AM UTC

OK, it works for me. Thanks

Cyrille Claustre
Replied On August 19, 2002 08:44 AM UTC

I've just installed the RTM version, but this problems seems to be still alive. Has it been fixed ?

Clay Burch [Syncfusion]
Replied On August 19, 2002 09:13 PM UTC

As far as we know, this problem has been fixed. You might check to make sure the references in your project point to the 1.0.2.4 release. If you are using the 1.0.2.4 release, please submit a Direct-Trac support incident so we can track this problem down. If you could provide a sample in the incident, or tell us how to see the problem in one of our samples, that would be great.

Cyrille Claustre
Replied On August 20, 2002 07:30 AM UTC

Ok. The link was incorrect. Sorry :) Thanks

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

;