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<br>I tried both things I could, still it does not seem to be effective:<br><br><pre><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></pre>AND in the code-behind:<br><br><pre><font size="4">WebReportViewer1.SidebarVisibility = DataDynamics.Reports.Web.<span><b><span>SidebarVisibility</span>.hidden</b></span>;</font>
    </pre><br>I have BOTH but; none is effective.<br>I tried either or, too - same result.<br><br>Thanks,<br>-ATalati<br>
  • Replied 3 August 2017, 3:22 pm EST

    Hello,<br><br>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.<br><br>Please let me know if you are not observing the same.<br><br>Thanks,<br>Manpreet Kaur<br><br><br><br><br>
  • 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.<br><br>Thanks,<br>-ATalati<br>
Need extra support?

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

Learn More

Forum Channels