Latest Development Blogs
Forum Topics Post
Browse By Tag
when my site is deployed,I can not use "export excel"(i can use before deploy)~~~error message:"Printer does not support Letter papersize. Please use PaperKind. Custom in your PageSettings or specify a papersize supported by the current printer"
Notice: I have set webgrid 的PrepareExportExecute：e.ReportObject.Document.Printer.PrinterName = "";
it is very urgent,please help me !
The report engine looks at the default printer of your client browser environment or the default printer that is set for the ASP.NET Account, which is usually, is nothing if this is a web environment. You can set the printer’s name to a null string (“”) to tell ActiveReports to not look for a printer and it will figure out proper page settings on its own.
protected void WebGrid1_PrepareExportExecute(object sender, ISNet.WebUI.WebGrid.PrepareExportExecuteEventArgs e)
e.ReportObject.Document.Printer.PrinterName = "";
Hope this helps.
because of the access right to folder~but thank you all the same~
Discover WebUI Studio® 2012
Get Started with WebUI Studio®
WebUI Studio® Edition
For ASP.NET Development
For Silverlight Development
For WPF Development
Learn More About ClientUI