Unplanned
Last Updated: 06 May 2020 21:31 by ADMIN
Sylvain
Created on: 09 Oct 2019 13:26
Category: Menu
Type: Feature Request
5
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 :

 <TelerikMenu>

    <TelerikMenuItem Text="File">

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

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

    </TelerikMenuItem>

 </TelerikMenu>

 


1 comment
ADMIN
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.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor