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

Printing content contained in a RadSlidingPane

1 Answer 27 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Big Lou
Top achievements
Rank 1
Big Lou asked on 02 Mar 2011, 07:21 PM
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!

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 03 Mar 2011, 05:04 PM
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!
Tags
Splitter
Asked by
Big Lou
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or