2022 May 11 4:01 PM - edited 2024 Feb 04 3:53 AM
Hello team,
We just upgraded to Crystal Reports 2020 and noticed that from within our program we now have the Toggle Group Tree left hand pane showing (expanded) ***Screen shot attached***
We do not want this, we want it to be collapsed so the data in the viewer is not cropped on the right hand side.
I have instantiated a CrystalReportViewer object but there is no property nor method for collapsing it that I can find... We do NOT want to disable it, its useful for some reports but not needed on most.
How can we force that Toggle Group Tree to load collapsed when the viewer is rendered?
Request clarification before answering.
I resolved the issue on my own.
I was playing around with the form and found that the control for this is the ToolPanelView .
I had to set it to NONE which can be done through the GUI editor or through code.
if you set it through code you can do some like this;
CrystalReportViewer1 = new CrystalReportViewer()
CrystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
18 | |
10 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.