I am using the ReportViewer.dll in a ASP.NET web application. The report
being displayed takes 2 parameters. One of these is programmatically set. I
would like the user to select values only for the other parameter. So when
displaying the report within the control, can I just show the second
parameter on the toolbar and hide the first one?
The Parameters toolbar property in the ReportViewer control corresponds to
the 'Parameters' URL access parameter, which hides/displays the entire
parameter toolbar
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSPROG/htm/rsp_prog_urlaccess_959e.asp). Umm, is that bad news?OK I solved the problem...You just type in a blank string for the Prompt
value...
"Aparna" wrote:
> I am using the ReportViewer.dll in a ASP.NET web application. The report
> being displayed takes 2 parameters. One of these is programmatically set. I
> would like the user to select values only for the other parameter. So when
> displaying the report within the control, can I just show the second
> parameter on the toolbar and hide the first one?
> The Parameters toolbar property in the ReportViewer control corresponds to
> the 'Parameters' URL access parameter, which hides/displays the entire
> parameter toolbar
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSPROG/htm/rsp_prog_urlaccess_959e.asp). Umm, is that bad news?|||On Wed, 26 Jan 2005 12:21:03 -0800, Aparna
<Aparna@.discussions.microsoft.com> wrote:
>OK I solved the problem...You just type in a blank string for the Prompt
>value...
>
How exactly does one "type in" a blank string? :)))
>"Aparna" wrote:
>> I am using the ReportViewer.dll in a ASP.NET web application. The report
>> being displayed takes 2 parameters. One of these is programmatically set. I
>> would like the user to select values only for the other parameter. So when
>> displaying the report within the control, can I just show the second
>> parameter on the toolbar and hide the first one?
>> The Parameters toolbar property in the ReportViewer control corresponds to
>> the 'Parameters' URL access parameter, which hides/displays the entire
>> parameter toolbar
>> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSPROG/htm/rsp_prog_urlaccess_959e.asp). Umm, is that bad news?|||haha...Not quite sure...However, it turns out my excitement was in vain...If
the prompt value is not specified, then the paratmeter becomes Read-only..So,
if you programatically want to assign values to it, you are out of luck! The
only way to set the value of that parameter is via the parameter property
page. So my orginal problem still stands...SOMEBODY HELLLP...
"Usenet User" wrote:
> On Wed, 26 Jan 2005 12:21:03 -0800, Aparna
> <Aparna@.discussions.microsoft.com> wrote:
> >OK I solved the problem...You just type in a blank string for the Prompt
> >value...
> >
> How exactly does one "type in" a blank string? :)))
>
> >"Aparna" wrote:
> >
> >> I am using the ReportViewer.dll in a ASP.NET web application. The report
> >> being displayed takes 2 parameters. One of these is programmatically set. I
> >> would like the user to select values only for the other parameter. So when
> >> displaying the report within the control, can I just show the second
> >> parameter on the toolbar and hide the first one?
> >>
> >> The Parameters toolbar property in the ReportViewer control corresponds to
> >> the 'Parameters' URL access parameter, which hides/displays the entire
> >> parameter toolbar
> >> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSPROG/htm/rsp_prog_urlaccess_959e.asp). Umm, is that bad news?
>
Showing posts with label toolbar. Show all posts
Showing posts with label toolbar. Show all posts
Sunday, February 26, 2012
Hiding Report Parameters ToolBar
Hi,
I am generating report using stored procedures. I am passing values to the
SP parameters for the report through URL. When I generate the report, the
parameters are being displayed in a toolbar at the top of the report. Is
there any way I can hide the parameter toolbox or parameter list while
generating the report.
Regards,
Sudhakara.T.P.Have you set the Report Parameters to Hidden?
daw
"Sudhakara.T.P." wrote:
> Hi,
> I am generating report using stored procedures. I am passing values to the
> SP parameters for the report through URL. When I generate the report, the
> parameters are being displayed in a toolbar at the top of the report. Is
> there any way I can hide the parameter toolbox or parameter list while
> generating the report.
> Regards,
> Sudhakara.T.P.|||Hi,
I just experienced the same issue for my reports and I found out there
is plenty of ways to work it out. Share with you my findings. Many thanks to
SSRS experts!!
1) Create a custom CSS file at \MSSQL\Reporting
Services\ReportServer\Styles\. Modify the .ToolbarRefresh or
.ToolbarParameters etc. Change display:inline to display:none. This is to
hide certain items/icons at Toolbar which is not frequently used. Then, set
your access url like :
http://server/reportserver?/reportname&rc:Stylesheet=MyStyle (without the
.css extension)
More reference at
http://blogs.msdn.com/bimusings/archive/2005/07/08/436887.aspx
2) Add &rc:Toolbar=false after your report url to hide the entire toolbar.
3) Add &rc:Parameters=false / &rc:Parameters=Collapsed after your report
url to hide parameters list only.
4) Clear the checkbox of Prompt User through Report
Manager>Properties>Parameters.
HTH.
regards,
sammy
"daw" wrote:
> Have you set the Report Parameters to Hidden?
> daw
> "Sudhakara.T.P." wrote:
> > Hi,
> > I am generating report using stored procedures. I am passing values to the
> > SP parameters for the report through URL. When I generate the report, the
> > parameters are being displayed in a toolbar at the top of the report. Is
> > there any way I can hide the parameter toolbox or parameter list while
> > generating the report.
> >
> > Regards,
> > Sudhakara.T.P.
I am generating report using stored procedures. I am passing values to the
SP parameters for the report through URL. When I generate the report, the
parameters are being displayed in a toolbar at the top of the report. Is
there any way I can hide the parameter toolbox or parameter list while
generating the report.
Regards,
Sudhakara.T.P.Have you set the Report Parameters to Hidden?
daw
"Sudhakara.T.P." wrote:
> Hi,
> I am generating report using stored procedures. I am passing values to the
> SP parameters for the report through URL. When I generate the report, the
> parameters are being displayed in a toolbar at the top of the report. Is
> there any way I can hide the parameter toolbox or parameter list while
> generating the report.
> Regards,
> Sudhakara.T.P.|||Hi,
I just experienced the same issue for my reports and I found out there
is plenty of ways to work it out. Share with you my findings. Many thanks to
SSRS experts!!
1) Create a custom CSS file at \MSSQL\Reporting
Services\ReportServer\Styles\. Modify the .ToolbarRefresh or
.ToolbarParameters etc. Change display:inline to display:none. This is to
hide certain items/icons at Toolbar which is not frequently used. Then, set
your access url like :
http://server/reportserver?/reportname&rc:Stylesheet=MyStyle (without the
.css extension)
More reference at
http://blogs.msdn.com/bimusings/archive/2005/07/08/436887.aspx
2) Add &rc:Toolbar=false after your report url to hide the entire toolbar.
3) Add &rc:Parameters=false / &rc:Parameters=Collapsed after your report
url to hide parameters list only.
4) Clear the checkbox of Prompt User through Report
Manager>Properties>Parameters.
HTH.
regards,
sammy
"daw" wrote:
> Have you set the Report Parameters to Hidden?
> daw
> "Sudhakara.T.P." wrote:
> > Hi,
> > I am generating report using stored procedures. I am passing values to the
> > SP parameters for the report through URL. When I generate the report, the
> > parameters are being displayed in a toolbar at the top of the report. Is
> > there any way I can hide the parameter toolbox or parameter list while
> > generating the report.
> >
> > Regards,
> > Sudhakara.T.P.
Friday, February 24, 2012
Hiding PRINT and EXPORT buttons/links
Is there a way to hide the PRINT and Export buttons of the Toolbar? I still
want to show page navigation etc.I have figured out you have to use the stylesheet.
"Sammy" wrote:
> Is there a way to hide the PRINT and Export buttons of the Toolbar? I still
> want to show page navigation etc.|||I have the same exact issue. Can you give me more detail about what you did
with the stylesheet? Thanks.
--
-RB
:)
"Sammy" wrote:
> I have figured out you have to use the stylesheet.
> "Sammy" wrote:
> > Is there a way to hide the PRINT and Export buttons of the Toolbar? I still
> > want to show page navigation etc.|||if you followed the default installation, there should be a FOLDER called
Styles in the directory
C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer
Look for HtmlViewer.css. Make a copy before you continue. Change the
display property of the relevant items to "none"
eg
.ToolbarExport
{
display: none;
}
.ToolbarPrint
{
display: none;
}
Save it as a new file eg MyViewer.css
To access the report thru a link include
rc:StyleSheet=MyViewer (NOTE there is no css)
To Deploy:
be sure you include the new css you folder and Deploy it if you are finally
running from a deployment site. It will (should) work from your development
environment if you don't include it in your project.
"capricorn" wrote:
> I have the same exact issue. Can you give me more detail about what you did
> with the stylesheet? Thanks.
> --
> -RB
> :)
>
> "Sammy" wrote:
> > I have figured out you have to use the stylesheet.
> >
> > "Sammy" wrote:
> >
> > > Is there a way to hide the PRINT and Export buttons of the Toolbar? I still
> > > want to show page navigation etc.
want to show page navigation etc.I have figured out you have to use the stylesheet.
"Sammy" wrote:
> Is there a way to hide the PRINT and Export buttons of the Toolbar? I still
> want to show page navigation etc.|||I have the same exact issue. Can you give me more detail about what you did
with the stylesheet? Thanks.
--
-RB
:)
"Sammy" wrote:
> I have figured out you have to use the stylesheet.
> "Sammy" wrote:
> > Is there a way to hide the PRINT and Export buttons of the Toolbar? I still
> > want to show page navigation etc.|||if you followed the default installation, there should be a FOLDER called
Styles in the directory
C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer
Look for HtmlViewer.css. Make a copy before you continue. Change the
display property of the relevant items to "none"
eg
.ToolbarExport
{
display: none;
}
.ToolbarPrint
{
display: none;
}
Save it as a new file eg MyViewer.css
To access the report thru a link include
rc:StyleSheet=MyViewer (NOTE there is no css)
To Deploy:
be sure you include the new css you folder and Deploy it if you are finally
running from a deployment site. It will (should) work from your development
environment if you don't include it in your project.
"capricorn" wrote:
> I have the same exact issue. Can you give me more detail about what you did
> with the stylesheet? Thanks.
> --
> -RB
> :)
>
> "Sammy" wrote:
> > I have figured out you have to use the stylesheet.
> >
> > "Sammy" wrote:
> >
> > > Is there a way to hide the PRINT and Export buttons of the Toolbar? I still
> > > want to show page navigation etc.
Subscribe to:
Posts (Atom)