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 problem

Thread ID:





92034 Dec 15,2009 02:13 PM UTC Dec 24,2009 05:20 AM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Maurizio Selvaggini
Asked On December 15, 2009 02:13 PM UTC

I have a problem with the checkbox cell type. I have created a gridgrouping grid and associated it with a sqldatasource. After i have declared a cell of this grid as celltype="Checkbox". Here is the definition:


The records are correctly returned from the datasource but the values linked to the checkbox cell are displayed as simple values (0 or 1). The checkbox image does never appears both in design mode or during the excution of the page.
I have tested another configuration for the cell with the same results:

CellValueType="System.Int32" CheckBoxOptions-CheckedValue="1"
CheckBoxOptions-UncheckedValue="0" />

Is there anything wrong?
My Syncfusion version is: Version=

Maurizio Selvaggini

Bharath M [Syncfusion]
Replied On December 24, 2009 05:20 AM UTC

Hi Maurizio,

Thank you for your interest in Syncfusion products.

We regret for inconvenience caused. We suggest you to bind the Boolean datatype for CheckBox column. If you need to bind a Integer datatype, we suggest you to update CheckBox value in QueryCellStyleInfo event handler.

For your information, CheckBox cell type will show CheckBox only when it enters into Edit mode. To get it in ReadOnly mode, we suggest you to use ItemTemplate for that particular column and Update the ItemTemplate's values from QueryCellStyleInfo event handler.

Let me know if you have any concerns.

Bharath .M


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

or the page will be automatically redirected to 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