This is a migrated thread and some comments may be shown as answers.

Parameter window on report viewer control

4 Answers 95 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bryan Strader
Top achievements
Rank 2
Bryan Strader asked on 27 Oct 2009, 11:10 PM
I am looking for a way to make the size of the parameter window always large enough to show the parameter input controls. Currently I have some reports that work nicely and others that generate a scroll bar that must be used to see all the parameter input controls. I cannot seem to find the setting or property that controls this. Can someone point me in the correct direction? Thanks!!

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 28 Oct 2009, 06:08 PM
Hi Bryan,

There is no property or setting for such purpose. The parameter area is a separate iframe that is controlled by the height/width of the reportViewer itself. If it is not being sized properly in some scenarios, this is most likely to improper height/width settings of the viewer usually when those are set in percentage and there is no height/width specified to the whole DOM tree. Another possible reason is a doctype that forces the browser to work in quirks mode.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Bryan Strader
Top achievements
Rank 2
answered on 30 Oct 2009, 05:11 PM
Steve - Thanks for the reply. We recently had to switch from quirks mode to get the sliding pane (that acts as our report menu) to work correctly in IE. So the issue probably has to do with the way we are sizing the viewer. We have the report viewer set to 100% height, and for most reports that we load into the viewer the parameter frame streches to show all the parameter inputs. However, for a few select reports the parameter viewer gets the scroll bars instead of streching to show all the selections. Is there something within each report that would make a difference here, like the paper size of the actual report? I've tried a few different settings but with no luck so far. Any further input would be a great help, thanks again for you time.
0
Steve
Telerik team
answered on 04 Nov 2009, 12:49 PM
Hi Bryan,

Since you confirmed our suspicion that you are applying 100% height on the viewer, are you applying height to the whole DOM tree as you should (more info here)?
Anyway we can only guess what is going wrong without reviewing your report and aspx page. We would appreciate if you prepare a sample project where the issue can be observed and we would be able to provide more info once we review it.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Bryan Strader
Top achievements
Rank 2
answered on 04 Nov 2009, 03:49 PM
Steve - We have a fix in place, the length of some of the parameter choices was causing the window to generate the scroll bars, and shrink the pane. We created new columns in the datasource for display purposes only. Thank you for the assistance.
Tags
General Discussions
Asked by
Bryan Strader
Top achievements
Rank 2
Answers by
Steve
Telerik team
Bryan Strader
Top achievements
Rank 2
Share this question
or