Datasource adding blank parameters while attaching that to report viewer control programitically RRS feed

  • Question

  • Hi All,

    I have a requirement of showing up multiple reports on a webpage which is containing Report viewer control to hose the reports. I was able to achieve the functionality of showing reports on the specific report buttonlink click. Problem is coming when I navigate across multiple reports.
    In a scenario, the while clicking on one report, the report is being shown up successfully. It has 13 input parameters.
    Next when I click on another report, it has only 9 input parameters. Ideally it should show that report as well. But it is showing the parameter count as 13 which is the earlier count and giving error. Every thing works perfect when we build the data source. But when the data source is added to report viewer control, the count is getting changed from 9 to 13 and rest of 4 parameters are being added as blank parameters.

    Let me know if any one has faced the same problem earlier.
    Phani Note: Please mark the post as answered if it answers your question.
    Monday, February 1, 2010 10:20 AM