This is a migrated thread and some comments may be shown as answers.

Boolean Field RadAjax q1 2008 (RadGrid)

3 Answers 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ricardo Rekowsky
Top achievements
Rank 1
Ricardo Rekowsky asked on 23 Jul 2010, 12:12 AM
Hello!

I searched the forums and read the following links:

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx
http://www.telerik.com/help/aspnet-ajax/grdcolumntypes.html

I have setup a table with three fields on a RadGrid:

- ID (integer, primary key)
- description (string)
- status (char[01])

and I want to have the status field as a boolean type where I'd like to add an image showing green or red ajaxed to represent the T/F state but I can't get it running.
I also tried to add a Checkbox according to the links I saw but I received the following error message:

"System.FormatException: String was not recognized as a valid Boolean."

What am I doing wrong and how can I achieve the result I want to?
Thanks!

Ricardo

3 Answers, 1 is accepted

Sort by
0
Ricardo Rekowsky
Top achievements
Rank 1
answered on 23 Jul 2010, 12:17 AM
I made a mistake... the version for the component is q1 2010
0
Accepted
Radoslav
Telerik team
answered on 28 Jul 2010, 08:01 AM
Hi Ricardo,

I am sending you a simple example which demonstrates the desired functionality. Please check it out and let me know if it helps you.

All the best,
Radoslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ricardo Rekowsky
Top achievements
Rank 1
answered on 12 Aug 2010, 08:00 PM
Thanks for the example.
It helped me find the solution I needed.

Sorry for the late reply.
I could just get back to my testing today
Tags
Grid
Asked by
Ricardo Rekowsky
Top achievements
Rank 1
Answers by
Ricardo Rekowsky
Top achievements
Rank 1
Radoslav
Telerik team
Share this question
or