all groups > sql server reporting services > may 2006 >
You're in the

sql server reporting services

group:

pass parameters through aspx page


pass parameters through aspx page vamsi
5/3/2006 4:45:28 PM
sql server reporting services:
I have a page and i want to access the report via URL and the report
has some parameters and i passing values to those paramaters via URL.I
want to hide those paramater values from adddress bar.Is there any way
to hide the paramaeters with out showing from the addressbar.

I have used &rc:parameter=false and eventhough i am able to see the
parameters on the address bar.I am using RS 2005.

Can any one shed some light on my issue.

Thanks
Re: pass parameters through aspx page vamsi
5/4/2006 9:27:41 AM
I did typo.i am using rc:Parameters=false and still able to see the
parameters list on the address bar.

http://servername/ReportServer?%2fFOLDERNAME%2fREPORTNAME&rs:Command=Render&rs:Format=HTML4.0&rc:Parameters=false&rc:Toolbar=false&DateVal=5/4/2006,&Region=00.

Am i doing in the correct way to hide parameters in the address bar.

Thanks
Re: pass parameters through aspx page Bruce L-C [MVP]
5/4/2006 11:04:28 AM
rc:Parameters=false

You have parameter not parameters. If you in reality have rc:parameters then
try making the case the same as above.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Re: pass parameters through aspx page Bruce L-C [MVP]
5/4/2006 11:33:49 AM
Try simplifying. It renders by default and renders as HTML, you can remove
both &rs:Command=Render&rs:Format=HTML4.0
I noticed a comma after your date. Remove that.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Re: pass parameters through aspx page vamsi
5/4/2006 12:05:16 PM
Bruce i did that still seeing the parameters on the address bar.I
wonder can we hide it from address bar.i saw so many posts and i did
not solution to hide parameters.

http://hdbtavd/ReportServer/Pages/ReportViewer.aspx?%2fFOLDERNAME%2fREPORTNAME
&rc:Parameters=false&rc:Toolbar=false&DateVal=" & Me.TextBox1.Text &
"&Region=00

Thanks
Re: pass parameters through aspx page vamsi
5/4/2006 12:32:04 PM
can see the result but could not acheive in hiding the parameters.main
concerned to hide parameters is anyone can just copy path and paste it
on ther window and can view the reports and i want users to view
reports from web applicaiton itself after they logged in to my apps.

I tried to implement custom authentication and could not acheive it so
thought of access the report by hiding parameters.

Thanks
Re: pass parameters through aspx page Bruce L-C [MVP]
5/4/2006 2:19:13 PM
Simplify it further. Hardcode in your parameters. Or better still, test this
with a report that does not require parameters. I do this all the time
without a problem. Not sure why it isn't working for you.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

AddThis Social Bookmark Button