THEMES
THEME SETTINGS

Navigation and Layout - Form Layout Client-Side Functionality

This example demonstrates how to manipulate the FormLayout extension programmatically on the client using our extended client-side functionality.

In this demo, layout groups of the FormLayout extension are identified using their Name property. In order to obtain a specific layout group by its name on the client side the GetItemByName method is used (see JS code). A particular layout group’s visibility is changed on the client with the help of the SetVisible method by passing it the required boolean value.

In this demo, when an end-user selects any of the radio button list items ("I am a new user" or "I am a registered user"), the UpdateItemsVisibility function is called. This function defines the visibility of all of the layout groups depending on the selected value within the radio button list.

Version: v2016 vol 2.5
Copyright © 2006-2017 Developer Express Inc
Your Next Great MVC App Starts Here

Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at info@devexpress.com or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.