javascript print in landscape
Hi All,
I have a webpage written in c# asp.net. The page has a datagrid and a print button. The print button has the javascript onclick="javascript:window.print();"
When I push the button, It opens the Print dialogue box.
I want the script to change the Orientation to Landscape.
By default the preference of the Orientation is Potrait.
I tried using CSS but because I have a datagrid on the page its not working. CSS works if I don't have the datagrid.
This is kinda urgent.
Thanks
|