aspnetdev
asked on
Windows.print()
Hi,
Im using windows.print() to print my page actually its a pop up page ...but in the printer the page is not priting full i can see half of the page being printed....can any one helpp;...actually its a pop up page with grid in it ...i can print only half columsn of the grid rest of being is cut ...how do i fix it
this i how i call the pop up page and then use window.print
string PopUpScript = "<script language='javascript'>" +
string.Format ("window.open('Report.aspx ?Year={0}& Quarter={1 }&REPORT_T YPE={2}',n ull,'heigh t=400,widt h=900,scro llbars=yes ' );</script>", ddlYear.SelectedItem.ToStr ing(),ddlQ uarter.Sel ectedItem. Text,Reque st.Params[ "REPORT_TY PE"]);
Page.RegisterStartupScript ("clientus erscript", PopUpScrip t);
Im using windows.print() to print my page actually its a pop up page ...but in the printer the page is not priting full i can see half of the page being printed....can any one helpp;...actually its a pop up page with grid in it ...i can print only half columsn of the grid rest of being is cut ...how do i fix it
this i how i call the pop up page and then use window.print
string PopUpScript = "<script language='javascript'>" +
string.Format ("window.open('Report.aspx
Page.RegisterStartupScript
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I think I earned some points with my answer, because it's mentions two possible solutions to the problem.
Regards,
Richard