
Raventhorn
Top achievements
Rank 2
Raventhorn
asked on 21 Aug 2007, 06:37 PM
Is there a way to get the height of a report so I can make the report viewer control the same height? I dont want it to scroll.
5 Answers, 1 is accepted
0
Hi Shannon,
You can fit the report in the ReportViewer by using the ZoomMode property. Try by setting it to ZoomMode.FullPage.
Best wishes,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can fit the report in the ReportViewer by using the ZoomMode property. Try by setting it to ZoomMode.FullPage.
Best wishes,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Raventhorn
Top achievements
Rank 2
answered on 28 Aug 2007, 09:50 PM
I have set that in the designer but in the application it is still fixed sized. Do I need to set the zoom value to anything higher than 100?
0
Hi Shannon,
ZoomPercent property is used only when ZoomMode is set to Percent. You don't need to set it to a different value as it will not be respected.
There is no way to control the size of the report viewer from the size of the report. The only possibility is to grow/shrink the report so that it fits the viewable area. However, to make the ReportViewer as large as possible you can refer to the attached sample page. Hope this helps.
Regards,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
ZoomPercent property is used only when ZoomMode is set to Percent. You don't need to set it to a different value as it will not be respected.
There is no way to control the size of the report viewer from the size of the report. The only possibility is to grow/shrink the report so that it fits the viewable area. However, to make the ReportViewer as large as possible you can refer to the attached sample page. Hope this helps.
Regards,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Raventhorn
Top achievements
Rank 2
answered on 29 Aug 2007, 04:41 PM
I would recommend there being a feature in the code to get the height of the report in rendering so that you can then set the height of the control to the appopriate height for it to be displayed without scrolling. Component One has this feature. I want to use your control over theirs (which I currently use) because I want to standardize on Telerik. Please consider this for a future upgrade.
0
Thanks for the suggestion, Shannon. It will be logged as a feature request and we'll consider implementing this functionality for one of the next releases.
Sincerely yours,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Sincerely yours,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center