The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team 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.
PDProf DISSOU Jamâl-DineApril 4, 2005 03:21 PM UTC
Hi Gregory,
It works.
Thanks a lot
Jamâl-Dine DISSOU