Change Theme Settings
Change Theme Settings
Themes
 
Metropolis
Moderno
iOS
Material
Material Compact
Office 365
Mulberry
Show All Themes
v
...v

Client-Side Functionality

Options
v
v
v
Collapse pane


This demo illustrates how to manipulate the DevExpress MVC Splitter programmatically on the client using our extended client-side functionality. An individual client control object can be referenced directly by its Name.

In this demo, the splitter's visibility and size (the AllowResize property) settings can be toggled on the client via corresponding options. Option values are passed as a parameter to the SetVisible and SetAllowResize client methods. You can expand or collapse splitter panes by using a button whose caption is changed automatically depending upon the action (see the UpdateButtonState function). On the client side, the button's functionality is based on a pane's Expand and Collapse methods.

You can also change a splitter pane's content and width via the pane's SetContentUrl and SetSize client methods.