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

Because of RadFormDecorator not able to print check boxes and radio buttons

2 Answers 20 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Tanuj
Top achievements
Rank 1
Tanuj asked on 12 Aug 2010, 07:02 AM
Hi,
In my project, I'm using RadFormDecorator to decorate controls. But i'm facing a problem while printing the page. It is not printing the check boxes and radio buttons.
But when I'm removing RadFormDecorator from my page, radio buttons and check boxes are getting printed.

Looking forward for a solution.

Thanks
Tanuj

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 17 Aug 2010, 01:43 PM
Hi Tanuj,

When RadFormDecorator styles checkboxes, radiobuttons, buttons, etc., it hides the original elements and replace them with skinned ones that use images. Browsers on the other hand, do not print images by default - which leads to the behavior that you experience. Unfortunately there isn't much that we can do about that - whether images will be printed or not is a user setting in the browsers and it cannot be controlled by code (otherwise it would be a security hole). The only thing that I can suggest is either to disable such controls from decoration (by using the ControlsToSkip property) or as an alternative - to provide "Printer Friendly" pages where the styling of the page is done completely by CSS and without images.


All the best,
Georgi Tunev
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
Tanuj
Top achievements
Rank 1
answered on 18 Aug 2010, 07:27 AM
Hi Georgi,
Thanks for the reply.
I have used DecorationZoneID property to decorate the page partially and thus keeping the radio buttons and checkboxes out of the decoration and it has solved the purpose.

Thanks
Tanuj
Tags
FormDecorator
Asked by
Tanuj
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Tanuj
Top achievements
Rank 1
Share this question
or