ASP.NET Splitter - Collapse/Expand panel

Click on the arrow of the splitter separator.
The left panel of the splitter will collapse.
Click again to expand the left panel back.

You can also collapse/expand a panel by using client-side methods.
Collapse the left panel
Expand the left panel
Collapse the right panel
Expand the right panel

The feature also works in horizontal splitter.

Example code

    <obspl:Splitter CollapsePanel="left" id="spl1" runat="server" StyleFolder="styles/default">
        <LeftPanel>
            <Content>
                ... Left Panel content here ...
    ...

VB.NET
spl1.CollapsePanel = VerticalCollapsePanelType.left


C#
spl1.CollapsePanel = VerticalCollapsePanelType.right;


JavaScript
spl1.CollapsePanel("left");
spl1.ExpandPanel("right");

"It is amazing how you guys have the tools that suits our needs to the "T" and I'm really glad to see that these tools are compatible with 3.5 as we would be moving there shortly."

Ramarao Prahalad
Texas Association of School Boards

Random testimonial   All testimonials