Telerik UI for ASP.NET Core GridLayout Overview

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
index.cshtml
IndexController.cs
Index_TagHelper.cshtml
GridLayoutArticle.cs
GridLayoutData.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API
devcraft ninja image

The GridLayout component is part of Telerik UI for ASP.NET Core, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik UI for ASP.NET Core GridLayout provides grid-layout system with rows and columns. It is based on a CSS Grid Layout. Items could be configured per specific row and column and could span across them.

The component allows you to configure the spacing between its elements through dedicated RowSpacing and ColumnSpacing properties. You can also manage the alignment of the inner items based on the X and Y axis. The GridLayout can be combined with the media queries to achieve responsive and adaptive layout.

The current example displays a common use-case scenario for a complex layout where items are positioned using the CSS Grid Layout concepts.

Functionality and Features

  • Rows- Use this confiuguration option to define the number of rows and set individual row height, if desired.
  • Columns- Use this confiuguration option to define the number of columns and set individual column width, if desired.
  • Items- Use this configuration to position the items. Set the Row, Column,RowSpan and ColumnSpan options to adjust the position of an item.

Additional Apps

This GridLayout 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