Printing content contained in a RadSlidingPane

2 posts, 0 answers
  1. Michael Montsko
    Michael Montsko avatar
    3 posts
    Member since:
    Sep 2008

    Posted 02 Mar 2011 Link to this post

    Hello,

    We are currently using the RadSplitter/RadSlidingPane in our application and need to add a "print" button that would allow our users to print the content contained within the RadSlidingPane.  I noticed that there is a print() function for RadPane, but there doesn't seem to be an analogous function for the RadSlidingPane.  Is there a different way to print this content?  Another option for us is to put the content in a div and print the div using JavaScript, but I wanted to make sure I didn't miss something.

    Thanks!
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 03 Mar 2011 Link to this post

    Hello Michael,

    There is no a built-in print method for RadSlidingPane but you can directly reference the container of the content by using the getContentContainer method listed below:

    http://www.telerik.com/help/aspnet-ajax/splitter-client-side-radslidingpane.html


    After that you can print it in the standard manner you would printa DIV - e.g as shown in the RadToolTip KB article below:

    http://www.telerik.com/support/kb/aspnet-ajax/tooltip/print-radtooltip-content.aspx 

    I hope that the provided directions are helpful, let me know if you need further assistance.

    All the best,
    Svetlina
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top