ASP.NET Splitter - Collapsed panel after postback

Click on the arrow of the splitter separator.
The left panel of the splitter will collapse.
Postback using the "Postback" button. The left panel will remain collapsed.
Click again to expand the left panel back.





The feature also works in horizontal splitter.


Download Download this working example.

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");

"Your TreeView component with the use of the Tree DB component are a real winner. I am using this with my CMS applications that allow the user to order the documents with a simple drag and drop. It's brilliant and my clients now have a more intuitive application."

Ben de Groot