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

CheckBoxAdv Binding & ReadOnly

Thread ID:

Created:

Updated:

Platform:

Replies:

26790 Mar 31,2005 03:07 PM UTC Apr 4,2005 03:21 PM UTC Windows Forms 2
loading
Tags: Tools
Prof DISSOU Jamâl-Dine
Asked On March 31, 2005 03:07 PM UTC

Please, 1. Could some one tell me ho to bind a datacolumn in a datatable to a CheckBoxAdv ? 2. How to make a CheckBaoxAdv readonly ? 3. How to make a CheckBoxAdv not display True or False on its text, but only checked if true, and unchecked if false. Best regards, Jamâl-Dine DISSOU

Administrator [Syncfusion]
Replied On March 31, 2005 10:44 PM UTC

Hi Jamal, 1) You can databind a column to any of the value properties, such as StringValue or IntValue. this.checkBoxAdv1.DataBindings.Add("IntValue", dataTable1, "IntChecked"); 2) If you set Enabled to false, the CheckBoxAdv will show it''s value, but not allow the user to change it. 3) Are you asking how you can make the CheckBoxAdv show the CheckedString, UncheckedString, etc. in it''s Text? If so, the following code snippet demonstrates this: private void checkBoxAdv1_CheckStateChanged(object sender, System.EventArgs e) { this.checkBoxAdv1.Text = this.checkBoxAdv1.StringValue; } Please let me know if you have any further questions. Regards, Gregory Austin Syncfusion Inc.

Prof DISSOU Jamâl-Dine
Replied On April 4, 2005 03:21 PM UTC

Hi Gregory, It works. Thanks a lot Jamâl-Dine DISSOU

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

;