Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Responsive Layout

The DevExpress ASP.NET Form Layout (ASPxFormLayout) control allows you to build adaptive edit forms with ease. The Form Layout can collapse its content from several to one column. To enable this functionality, set the AdaptivityMode property to SingleColumnWindowLimit.

When adaptive mode is enabled, the Form Layout control automatically changes its layout when the browser window is resized. When the browser window inner width is less than or equal to the value specified by the SwitchToSingleColumnAtWindowInnerWidth property, control content is reordered into one column. The editor captions are displayed above or below the editor (based on the initial position).

The Form Layout adaptivity settings can be accessed by the SettingsAdaptivity property.

In this demo, the Form Layout control displays its editors in one column when the browser window width is less than 700 pixels.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Components Installer
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher)
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxNavigationAndLayoutDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxNavigationAndLayoutDemos