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

Dropdown grid checkbox

Thread ID:





28943 May 12,2005 06:05 PM UTC May 13,2005 11:49 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On May 12, 2005 06:05 PM UTC

Hi, My dropdown grid has a checkbox and a button. I want to enable and disable the button based on the value of the checkbox. In the CheckBoxClick event handler, I want to query the value of the checkbox (the value after the action has taken place). So I call dropDownGrid.CurrentCell.ConfirmChanges(); This does not seem to work. When I query the value of the checkbox, it is still the old value. I also tried dropDownGrid.ConfirmPendingChanges(); and dropDownGrid.ConfirmChanges(); but same result. What am I missing here? Thanks,

Administrator [Syncfusion]
Replied On May 13, 2005 11:49 AM UTC

A CheckBox celltype does not have a ''real active'' state. That is why CurrentCell.ConfirmChanges does ''save'' values in a CheckBox cell. CheckBoxClick is raised just before the value of the value is saved. Try using the CurrentCellChanged event. This is raised after the value has been updated in the grid.


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