Hide Default ParameterPanel

Posted by: atalati on 3 August 2017, 3:22 pm EST

  • Posted 3 August 2017, 3:22 pm EST

    I am in asp.net 4.0
    I tried both things I could, still it does not seem to be effective:

    <font size="4"><span><</span><span>dd</span><span>:</span><span>WebReportViewer</span> <span>ID</span><span>=</span><span>"WebReportViewer1"</span> <span>runat</span><span>=</span><span>"server"</span> <span>Dock</span><span>=</span><span>"true"</span> <span>BorderColor</span><span>=</span><span>"#9933FF"</span>
                            <span>BorderStyle</span><span>=</span><span>"Dotted"</span> <span>BorderWidth</span><span>=</span><span>"1px"</span> <span>OnLoad</span><span>=</span><span>"ddLoad"</span> <span>OnError</span><span>=</span><span>"ddErr"</span> <span>ReportName</span><span>=</span><span>"~/Report/STRING_TEST.rdlx"</span>
                            <span><b><span>SidebarVisibility</span><span>=</span><span>"hidden"</span></b> </span><span>/></span></font>
    AND in the code-behind:

    <font size="4">WebReportViewer1.SidebarVisibility = DataDynamics.Reports.Web.<span><b><span>SidebarVisibility</span>.hidden</b></span>;</font>

    I have BOTH but; none is effective.
    I tried either or, too - same result.

  • Replied 3 August 2017, 3:22 pm EST


    If all report's parameters are hidden and SidebarVisibility property of WebViewer is set to Hidden then the sidebar does not open once the report is loaded in web-viewer. However, if your report has some parameters that are not hidden, then even after setting the sidebar visibility to hidden, it would show up the side bar with the parameters.

    Please let me know if you are not observing the same.

    Manpreet Kaur

  • Replied 3 August 2017, 3:22 pm EST

    I don't think I want to do that, because I am having my very own user control that actually will do a lot more that the default one. We just need to replace the default with our bespoke user control w/o actually affecting the report.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels