RadRotator stretches the page(s) when printing in IE
Article Info
Rating: Not rated
|
Article relates to |
all versions of RadRotator |
|
Created by |
Robert, Telerik |
|
Last modified |
December 8, 2006 |
|
Last modified by |
Peter, Telerik |
PROBLEM
Having a RadRotator on a web page stretches it several pages when printing under IE.
SOLUTION
This problem happens when the the rotator has many frames. It appears that the page count under IE depends on the frame count of the rotator and all frames are placed one after another.
To workaround this problem, use the following css:
| <head runat="server"> |
| |
| <style media="print"> |
| #RadRotator1_wrapper |
| { |
| position:absolute; |
| height:125px; |
| overflow:hidden; |
| } |
| </style> |
| |
| </head> |
| |
| |
Also, you need to put the rotator in a relatively positioned div with equal height:
| <div style="position:relative;height:125px"> |
| <radR:RadRotator ID="RadRotator1" runat="server" Height="125px" Width="225px" TransitionType="Scroll"> |
| <FrameTemplate> |
| <img src="http://www.telerik.com/images/banners/<%# Eval("MerchantID") %>.jpg" /> |
| </FrameTemplate> |
| </radR:RadRotator> |
| </div> |
| |
| |
Comments
There are no comments yet.
If you'd like to comment on this KB
article, please, send us a
Support Ticket.
Thank you!
Please
Sign In
to rate this article.