WebPaneManager provides property to show/hide pane.
This topic will show you how to hide pane initially.
To hide pane initially
- Create 3 panes using WebPaneManager Advanced Designer to produce Top, Middle
and Bottom panes.
- Select the Top pane and set Visible to False.
- When you run the project, the Top pane will be hidden initially.
- You can use a button to show the Top pane. Place the following code in Button click
server-side event.
protected void Button1_Click(object sender, EventArgs e)
{
WebPaneManager1.RootGroupPane.Panes[0].Visible = true;
}
|