8
Answers

How to remove Main Report button in crystal report viewer?

kailash r

kailash r

11y
19k
1

How to remove this tab in crystal report viewer?


I have tried this. But not working.

 public void HideTabs(CrystalReportViewer viewer)
        {
            foreach (Control control in viewer.Controls)
            {
                if (control is PageView)
                {
                    TabControl tab = (TabControl)((PageView)control).Controls[0];
                    tab.ItemSize = new Size(0, 1);
                    tab.SizeMode = TabSizeMode.Fixed;
                    tab.Appearance = TabAppearance.Buttons;
                   
                }
            }
        }

Controls array not having any control.
Answers (8)
Next Recommended Forum