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

3 posts, 0 answers
  1. Tanuj
    Tanuj avatar
    2 posts
    Member since:
    Aug 2010

    Posted 12 Aug 2010 Link to this post

    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. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 17 Aug 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tanuj
    Tanuj avatar
    2 posts
    Member since:
    Aug 2010

    Posted 18 Aug 2010 Link to this post

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