My report properties are set to Width 11in and Height 8.5in. My body properties are set to Width 10in and Height 7.5in and the margins are 0, but the report always displays in portrait mode. The person who coded the page is using a reportviewer control inside of an aspx page which is being popped up from a JavaScript pop window writing the response to a pdf. If the report is opened in the report viewer it is landscape like expected. Any ideas anyone?
Javascript – Export .rdlc report to pdf in Landscape mode
javascriptnetpdfreport-viewer2012reporting-services
Best Answer
width, height and orientation of a Report (.rdlc) depends on the two factors :
What page settings are applied on the report. We can set orientation to landscape by opening report in Solution Explorer
Adding Some line of codes to define width, height and orientation.