How to show checkboxes with boolean values?

4 posts, 2 answers
  1. Geejay
    Geejay avatar
    45 posts
    Member since:
    Feb 2007

    Posted 29 Jan 2008 Link to this post

    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
  2. Answer
    Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 30 Jan 2008 Link to this post

    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
  3. DevCraft banner
  4. Geejay
    Geejay avatar
    45 posts
    Member since:
    Feb 2007

    Posted 07 Feb 2008 Link to this post

    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.

  5. Answer
    Milen
    Admin
    Milen avatar
    163 posts

    Posted 08 Feb 2008 Link to this post

    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
Back to Top