dv2020
Active member
- Joined
- Dec 18, 2020
- Messages
- 30
- Programming Experience
- 1-3
Hi,
I'm trying to add an item inside a split panel, then set the dock to fill. I have tried both methods below but not having any luck.
Tried setting the dock to fill, the moving it into the container panel.
Tried the moving it into the container panel, then setting the dock to fill.
Any have any other things i could try?
Thanks
David
I'm trying to add an item inside a split panel, then set the dock to fill. I have tried both methods below but not having any luck.
Tried setting the dock to fill, the moving it into the container panel.
1st Try - Code:
crystalReportViewer1.Dock = DockStyle.Fill;
splitContainer1.Panel2.Controls.Add(crystalReportViewer1);
Tried the moving it into the container panel, then setting the dock to fill.
Tried this:
splitContainer1.Panel2.Controls.Add(crystalReportViewer1);
crystalReportViewer1.Dock = DockStyle.Fill;
Any have any other things i could try?
Thanks
David