mike509123
MIS
Hi,
I have the following code
<aspanel ID="Panel1" runat="server" Height="150px" Width="200px" ScrollBars="Auto" CssClass="box"> here is my text...</aspanel>
when the code runs i see a scrollable panel with a lot of text. When i hit the print button, it only shows me the text that i can see at one time on the screen. I noticed that when i do ScrollBars="none" and then i hit print, the printout comes out with all the text. Is there anyway to use my code above but when i hit the print button to use css to set scrollbars="none"?
I have the following code
<aspanel ID="Panel1" runat="server" Height="150px" Width="200px" ScrollBars="Auto" CssClass="box"> here is my text...</aspanel>
when the code runs i see a scrollable panel with a lot of text. When i hit the print button, it only shows me the text that i can see at one time on the screen. I noticed that when i do ScrollBars="none" and then i hit print, the printout comes out with all the text. Is there anyway to use my code above but when i hit the print button to use css to set scrollbars="none"?