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

How to show checkboxes with boolean values?

3 Answers 175 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Geejay
Top achievements
Rank 1
Geejay asked on 29 Jan 2008, 04:10 PM
Hello Telerik,

Is there a workaround on how to display a checkbox when data contains boolean values?
I found one example (http://www.telerik.com/ClientsFiles/055916_CheckBoxes.zip) on how to do this but the code is in C# and I just can't get it translated to VB.
Could you help me with this one or are there other possibilities to show checkboxes?

Thank you!

Geert

3 Answers, 1 is accepted

Sort by
0
Accepted
Ivan
Telerik team
answered on 30 Jan 2008, 01:19 PM
Hi Geejay,

Thank you for contacting Telerik Support.

Attached you can find a sample solution in VB. There are three projects in the solution:
  • CheckBoxesVBReport - a Class Library project that actually contains the report's definition; 
  • CheckBoxesVBWeb - a Website project where the report is displayed;
  • CheckBoxesVBWin - a Windows Forms project where the report is displayed.
Please let me know if you have additional questions.

Best wishes,
Ivan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Geejay
Top achievements
Rank 1
answered on 07 Feb 2008, 08:56 AM

Hi Ivan,

thank you for your response. It helped me a lot to get it working now.

I have another, similar question. I have reports which show the results of tests. For every question you can choose between 5 options via radiobuttons.
In the report I want to show these radiobuttons with the corresponding values.
The approach with the checkboxes could also be used in this situation I believe, but there are a lot of questions (2 pages, sometimes more). Can I use the approach above without getting serious peformance/printing problems? There are a lot of pictureboxes being loaded this way.

Thank you.

0
Accepted
Milen | Product Manager @DX
Telerik team
answered on 08 Feb 2008, 06:39 PM
Hi Geejay,

Find attached a solution with three sample projects.
  1. ReportItems library contains a sample implementation of a RadioButtonGroup reporting item that binds current selected value (the value of some column in the current row) to a predefined set of values (for example the questions of your form).
  2. Reports library with a sample report using this custom reporting item.
  3. Win app that simply displays the report.
Let us know if you have further questions.

 
Sincerely yours,
Milen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Geejay
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Geejay
Top achievements
Rank 1
Milen | Product Manager @DX
Telerik team
Share this question
or