ASP.NET Splitter - Knowledge Base

« Back to Knowledge Base list

Collapse Splitter panel using Javascript

Q:

How can I collapse Splitter panel using Javascript?

A:

Use client side function CollapsePanel.

To collapse the left panel use:
        Splitter1.CollapsePanel("left");

where
  • Splitter1 is the client id of the Splitter control
  • left is the panel you want to collapse

Check also the Collapse/Expand panel live example.


"Your response is quick and clear - Keep it up - Great team. And also thanks about your product - I am very much impressed with all your products. Your help and how to is much better and satisfy most of my doubts - good work."

Muthukumar N.