Landscape printing orientation
-
Hi, I want the users of my website to be able to print a datagrid on one of the webpages. Now my problem is that when the user does so one of the columns is cut off due to the page orientation. But if I set the page orientation to landscape manually it prints the entire datagrid. How do I set the page orientation to Landscape programatically. Is there some way I could achieve this using the CSS file? Thanks in advance, Avesh
-
Hi, I want the users of my website to be able to print a datagrid on one of the webpages. Now my problem is that when the user does so one of the columns is cut off due to the page orientation. But if I set the page orientation to landscape manually it prints the entire datagrid. How do I set the page orientation to Landscape programatically. Is there some way I could achieve this using the CSS file? Thanks in advance, Avesh
Aavesh Agarwal wrote:
How do I set the page orientation to Landscape programatically.
ASP.NET don't have any handle in printing. It's completely browser depended. What you can do is re arrange the grid to fit for printing.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions