This is a migrated thread and some comments may be shown as answers.

menu popup

1 Answer 229 Views
Menu
This is a migrated thread and some comments may be shown as answers.
khashayar
Top achievements
Rank 1
Veteran
khashayar asked on 15 Jun 2020, 09:53 PM
Hello,

how is it possible to change styles and template of popup which open under menu OnHover ?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 16 Jun 2020, 08:16 AM

Hello Khashayar,

You can add logic (say, if-else blocks) in the Template of the menu to know what to render depending on your business needs. A similar example is available in our documentation: https://docs.telerik.com/blazor-ui/components/menu/templates. For example, in your case you could have a flag that denotes root items and check for that.

You may also find interesting and relevant this thread and the feature request it points to: https://www.telerik.com/forums/is-there-a-way-to-have-a-sub-item-template

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Menu
Asked by
khashayar
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
Share this question
or