Solved

SSRS Parameter Width

Posted on 2006-10-25
7
3,953 Views
Last Modified: 2009-12-16
I need to know how I can expand the width of the parameter entry boxes.  

Here's the info.  

**The server is stored on my SSRS instance and I'm connecting via the ReportManager.
**The parameters are set within the report as multi-value dropdown lists.
**Some of the labels are wider than the width of the dropdown and it is not desirable to scroll to read each entry.

I know that there is undocumented and unsupported (by Microsoft) functionality to modify the CSS behind the ReportManager, but I have been unable to figure out which series of steps I need to take to modify the width of these dropdowns.

This has very high urgency so full 500 to the winner.

0
Comment
Question by:bslattery
  • 3
  • 3
7 Comments
 
LVL 18

Expert Comment

by:chrismc
Comment Utility
I don't know of any undocumented feature to hack the report manager to increase width.
But, I believe it does partially calculate the width by looking at some of the data it is going to display. You could try a dummy value at the top of the list padded out with underscores, e.g.
    Select ' (Please select some values ___________________)' As Value
    Union All
    Select MyValue As Value From MyTable
    Order By Value
It's a bit kludgy, but it might work?

The other alternative is to generate your own parameter web screen where you have full control over the layout and link to the report passing the parameters selected into the url. It's more work but potentially a more elegant solution.

Cheers
Chris
0
 

Author Comment

by:bslattery
Comment Utility
Hi Chris,

Thank you for the feedback, but I don't believe the solution you mentioned meets my requirements.  This is the article that I was referring to regarding modifying the css

http://msdn2.microsoft.com/en-US/library/ms345247.aspx

I was wondering if you knew what XML element I need to modify in the htmlViewer.css to change my toolbar width.  

I would like to avoid creating my own web page if at all possible due to time and resource constraints.

0
 
LVL 18

Expert Comment

by:chrismc
Comment Utility
Looking at the stylesheet mentioned in the article, I would hazard a guess that the following are the most likely style elements;
.ParamEntryCell
{
      padding: 5px;
      vertical-align: baseline
}

.ParamsGrid
{
      margin: 0px;
      padding: 5px
}

I would try simply adding a 'width' attribute in to each and see what happens - however this will affect ALL reports.

Cheers
Chris
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Author Comment

by:bslattery
Comment Utility
Setting values on the width on these parameters had an effect, however it was not the effect I was looking for.  By setting any width value, it chopped the parameter entry area in half.  The value of the width is irrelevant.  
0
 
LVL 14

Expert Comment

by:simon_kirk
Comment Utility
Quote from MS newsgroup from Bruce Loehle-Conger (MVP SQL Server Reporting Services )
RE: Parameter dropdown width

"There is no way to do this that I know of. That sort of fine tuning of the Report Manager UI is not possible. I don't know about RS 2005 but I know for RS
2000 SP2 this is not possible. You would need to create your own web page and then integrate via either URL or webservices."

0
 

Author Comment

by:bslattery
Comment Utility
I am using SSRS 2005 SP1.  
0
 
LVL 18

Accepted Solution

by:
chrismc earned 500 total points
Comment Utility
Apart from playing with those css styles, you're only other option is to write your own front end.
I did something like this a while ago on 2000 but it's still relevant for 2005.
Because I wanted the user to remain in the Report manager but need a more complex data entry/parameter screen, I created a report with some textboxes that I formatted to look like buttons. These buttons were links to ordinary web screens which accepted the parameters so I could code in the complexity I needed. On the submit button, this then linked to the report I wanted to run, passing the appriopriate parameters in, but with the parameter toolbar hidden.
This wasn't ideal but it worked well. I think this is your best bet for now.

Cheers
Chris
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
dynamic reporting tools 4 93
Tableau Graph Question 3 137
SQL Query with GROUP BY 12 93
Called report not displaying parameter prompt 6 129
1. Set up your parameter at the report level as usual, check the box Multi-value, and set the Data Type to String 2. Set the Stored Procedure Parameter to varchar(max)  --<---- This part here is the key to it's success Example:    @cst_key var…
Problem Statement In an SAP BI BO Integration project when a BO universe is built on a BEx query, there can be an issue of unit & formatted value objects not getting generated in a BO universe for some key figures. This results in an issue whereb…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now