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

ASP.NET Core Form Responsive Form

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
responsive_form.cshtml
Responsive_FormController.cs
Responsive_Form_TagHelper.cshtml

Also available for:

CLIENT-SIDE API HTML HELPER API

Description

The Telerik UI for ASP.NET Core Form supports a responsive layout by using a grid structure that adapts to different screen sizes. This allows you to build forms that automatically adjust their column arrangement based on the viewport width.

To configure a responsive layout, set the Layout option to "grid" and define breakpoints through the Cols() configuration using MaxWidth and MinWidth values. You can also use the ColSpan() setting to control how many columns each item spans at different screen sizes.

This demo demonstrates how to arrange two form groups - Personal Information and Shipping Address - side by side on large screens and stacked vertically on smaller devices. The form editors include DropDownList, ComboBox, MaskedTextBox, and DatePicker, which are configured to be adaptive and mobile-friendly.

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