New to Telerik UI for ASP.NET Core? Download free 30-day trial

ASP.NET Core Form Layout

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
HtmlHelper
TagHelper
Files:
layout.cshtml
LayoutController.cs
Layout_TagHelper.cshtml

Also available for:

CLIENT-SIDE API HTML HELPER API

Description

The Telerik UI for ASP.NET Core Form provides a default and a grid appearance for arranging its layout. When using the default layout, the Form items are organized as a list, while the grid layout option allows you to display the Form items as columns separated by a gutter.

The current demo shows how to configure a Form with a grid layout that contains two columns by setting the Layout option to "grid" and to specify the number of columns and a gutter in-between by using the Cols() and Gutter() methods.

Additional Apps

This Form example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources