views:

24

answers:

1

in a splitcontainer if I write splitcontainer1.panel1.visible = false; it does not cause the panel2 to fill all the space of the splitcontainer but this is what I actually need. can you please help me how to achieve this?

thanks.

+1  A: 

Set the Panel1Collapsed property to true instead.

SLaks
very nice. thanks.
BDotA