Example of Template and Customization in ASP.NET MVC Breadcrumb Control

This sample demonstrates the template functionalities of the Breadcrumb component. The breadcrumb item templates are customized using HTML and CSS.

DEMO
SOURCE
Custom Breadcrumb
Specific Item Template
Custom Separator
Custom Breadcrumb and Separator
Breadcrumb with Icons
Disabled Breadcrumb

The Breadcrumb component provides a way to customize the items using ItemTemplate and the separators using SeparatorTemplate properties.

The icons are used for the visual representation of the breadcrumb items. You can specify the IconCss property to display the icon within the corresponding breadcrumb item. By default, the icons are aligned in the left position.

You can enable or disable the entire Breadcrumb using disabled property.

In this demo, we have used Shopping Cart details as Breadcrumb Items and customized the items using ItemTemplate and SeparatorTemplate.

And, showcased the file path of the config.json file with icons using the IconCss property and disabled the specific Breadcrumb items in beforeItemRender event using item disabled property.

More information about Breadcrumb component template feature can be found in this documentation section.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab