Last Updated: 06 May 2020 21:31 by ADMIN
Created on: 09 Oct 2019 13:26
Category: Menu
Type: Feature Request
Declare the menu items in markup (without code)

Is there a way to not create menu programmatically but only using "html" elements ? Something like this :


    <TelerikMenuItem Text="File">

        <TelerikMenuItem Text="Open" OnClick="@OnFileOpenMenuClick"/>

        <TelerikMenuItem Text="Save" OnClick="@OnFileSaveMenuClick"/>




1 comment
Marin Bratanov
Posted on: 09 Oct 2019 13:38

Hi Gilles,

At the moment, there isn't, the menu must be data bound, it cannot be declared in the markup. This is why I moved this ticket to the public feedback portal so we can see what the demand for such a feature would be. Here's a link for you: https://feedback.telerik.com/blazor/1433539-declare-the-menu-items-in-markup-without-code.


Marin Bratanov
Progress Telerik

 UI for Blazor