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


    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.

  2. Svetlina Anati
    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:

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

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

    All the best,
    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!
Back to Top