Orientation menu with button

0 Answers 38 Views
Button Menu
José Ignacio
Top achievements
Rank 1
José Ignacio asked on 19 May 2022, 03:31 PM

Hi,

I use the latest Kendo UI MVC with Visual Studio 2019. I would to know if is possible to change the menu orientation with a button click and not with a combobox option ?

 

Thank you.

Ignacio

Alan
Top achievements
Rank 2
Iron
Iron
commented on 20 May 2022, 04:14 AM

You should be able to define a button (remove/comment out the combobox definition) and wire the click event in to switch it between the two states.  You're probably using a combobox change event currently, correct?
José Ignacio
Top achievements
Rank 1
commented on 20 May 2022, 12:38 PM

Thank you Alan.

Yes, currenly I use a combobox change event. I tried to use a button for toogle event, but that not worked

Alan
Top achievements
Rank 2
Iron
Iron
commented on 20 May 2022, 01:22 PM

You should be able to wire the change event into the button click event...  No?

Alan
Top achievements
Rank 2
Iron
Iron
commented on 20 May 2022, 01:23 PM

The change event should be js...  likewise the click event would be in js.

Eyup
Telerik team
commented on 24 May 2022, 12:18 PM

Hi Ignacio,

Yes, Alan is right. You can utilize the .Events(e=>e.Click()) event of the button to achieve this:
https://demos.telerik.com/aspnet-mvc/button/events

No answers yet. Maybe you can help?

Tags
Button Menu
Asked by
José Ignacio
Top achievements
Rank 1
Share this question
or