Free Trial Buy Now

Splitter - Client-Side Functionality

Description

This demo illustrates how to manipulate the DevExpress MVC Splitter programmatically on the client using our extended client-side functionality. The client-side interface is available if the EnableClientSideAPI property is set to true, or if there is a handler assigned to any client-side event. When set, an individual client control object can be referenced directly by its Name.

In this demo, the splitter's visibility (the Visible property) 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.

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress MVC Extensions ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.