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

Bind Custom Attributes

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Theme Builder
  • menu_bind_attributes.cshtml
  • Menu_Bind_AttributesController.cs
  • Category.cs
  • Product.cs

Also available for:

API REFERENCE

Description

The UI for ASP.NET Core Menu enables you apply Model binding to populate items dynamically from the server.

This demo shows an advanced approach to bind the items' attributes to fields from the Model passed so that you can apply client-side logic on item selection.

Support & Learning Resources