Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi
I need help to generate the parameter(asp.net controls) as per the ssrs report selection.
There are 40 deployed SSRS reports and every individual report have different set of parameters.
I have to do this on one page where in when user clicks on the report link he is directed to the other page in which first half contains the Parameters of the report in form of asp.net controls and the second half page contains the SSRS report viewer.

What I have tried:

I have tried to call a single deployed ssrs report on asp.net webpage.
The parameters are hard coded as asp.net controls for 1 individual report.
I want them to be dynamically populate on the page as per the report and we can also use them to generate report.
Posted
Updated 16-May-16 7:15am
v4
Comments
ZurdoDev 10-May-16 7:26am    
Putting 40 reports on a single page is going to destroy your page performance. It will likely be unusable.
Member 12514148 10-May-16 7:47am    
i meant that only 1 report and its parameter would be shown to user at a time.
The user will be redirected to this page when he will select 1 of the report from the list.I have corrected the question now.Sorry for misunderstanding
ZurdoDev 10-May-16 7:52am    
Then what exactly is your question?
Member 12514148 10-May-16 8:01am    
i want to know how to generate the parameters(asp.net controls) dynamically for each ssrs report when selected and fetch the related deployed ssrs report in the report viewer.To clarify i am using asp.net controls as filters and report viewer to call ssrs report.
ZurdoDev 10-May-16 8:08am    
I have actually done this and it is not easy at all. But the basic steps are to call the WebService to get a list of the parameters for the report. Loop through them. I look at the prompt on the report parameter and depending on what it is I may add a textbox or a dropdown list or a checkbox, etc.

1 solution

As mentioned in comments, the basic steps are to call the WebService to get a list of the parameters for the report. Loop through them. I look at the prompt on the report parameter and depending on what it is I may add a textbox or a dropdown list or a checkbox, etc. It is a very manual process but can certainly be done.
 
Share this answer
 
Comments
Member 12514148 16-May-16 13:21pm    
I have updated the question,please help me in this as its getting tougher.
If you can provide a sample would be great.
ZurdoDev 16-May-16 13:30pm    
I don't see any update nor any question.
Member 12514148 16-May-16 13:33pm    
it was the minor change,so still the question is same
Member 12514148 17-May-16 1:48am    
Hi Can you please send me a sample of the solution you gave.
ZurdoDev 17-May-16 7:05am    
No. Sorry. Just go through the process I laid out and you'll get it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900