How to show checkboxes in RDLC report? [Resolved]

Posted by Amatya under C# on 3/31/2016 | Points: 10 | Views : 12283 | Status : [Member] | Replies : 4
In my aspx form i have got 6 checkboxes now how to show checkboxes in RDLC report?

Thanks in Advance

Feel free to share informations.
mail Id ' adityagupta200@gmail.com
Thanks



Responses

Posted by: Gaganpareet on: 3/31/2016 [Member] Starter | Points: 50

Up
0
Down

Resolved
I had a requirement that the checkboxes have a background color. I liked the simplicity of a text-based rather than image-based approach, so I used a variation of the popular Wingdings-font method: I used a small, square textbox with a thin border and the specified background color, set it to use a bold, sans-serif font, and used this expression for the text value:
=IIf(Fields!SomeBool.Value, "X", "")

If you still want a checkmark rather than an X, you can use Wingdings 2 font and this expression:
=IIf(Fields!SomeBool.Value, Chr(80), "")

In either case, you may have to adjust the font size and/or box size to keep the result square; my first take was taller than wide because it expanded vertically to accommodate the font.

http://www.pass4suredumps.com/70-410.html

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajnilari2015 on: 3/31/2016 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 25

Up
0
Down
Try

=IIf( Fields!MyBooleanField.Value, Chr(82), Chr(163))


--
Thanks & Regards,
RNA Team

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Professionaluser on: 3/31/2016 [Member] [MVP] Bronze | Points: 25

Up
0
Down
refer below link for detailed steps to add check boxes in RDLC report
https://kkryczka.wordpress.com/2010/12/09/how-to-display-checkbox-on-report/
http://blog.hoegaerden.be/2012/08/04/displaying-checkboxes-in-an-ssrs-report/

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Amatya on: 3/31/2016 [Member] Silver | Points: 25

Up
0
Down
It worked Gagan .. Thanks

Feel free to share informations.
mail Id ' adityagupta200@gmail.com
Thanks

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response