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

Checkbox not resizing on printed report

2 Answers 187 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 1
Shawn asked on 01 Nov 2012, 01:50 PM
I have a report with multiple checkboxes. The checkboxes look fine inside Visual Studio and inside the Report Viewer. However, when I print the report, the checkboxes do not print at the correct size. It looks like they are expanding to their original size and I am only seeing the top left-hand corner. I tried to use the default images and I also created my own checkbox images and it does not seem to make any difference. Please let me know if there is a value that I am not setting correctly or if there is something else I need to do in order for these checkboxes to print correctly. 

I have attached three images. 
1. printedversion - The printed result with the checkbox not sized correctly.
2. reportviewerversion - How it looks in the webpage via the report viewer. 
3. vseditor - how it looks in Visual Studio with the current properties. 

Thank you,
Shawn

2 Answers, 1 is accepted

Sort by
0
Accepted
Petio Petkov
Telerik team
answered on 05 Nov 2012, 02:39 PM
Hi Shawn,

Thank you for bringing this issue to our attention. We believe that the checkbox's correct behavior is to render the image in its original size(if CanGrow is set to False only a part of the image will be rendered). That's why our suggestion is to resize the image to the desired size of the checkbox beforehand. Still the inconsistent behavior in the HTML rendering is a wrong and we would standardize the behavior in all views. We have updated your telerik points for bringing this to our attention.
In case you still want to resize the image automatically (at runtime), our suggestion is to use a combination of PictureBox and TextBox instead of CheckBox.

All the best,
Petio Petkov
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
Shawn
Top achievements
Rank 1
answered on 05 Nov 2012, 02:45 PM
Hi Petio,
Thank you for your reply. I have gotten around this issue by using a textbox with a border and setting an "X" inside if the condition is true. It isn't as nice as a checkbox image, but it gets the job done! 
Regards,
Shawn
Tags
General Discussions
Asked by
Shawn
Top achievements
Rank 1
Answers by
Petio Petkov
Telerik team
Shawn
Top achievements
Rank 1
Share this question
or