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

[Solved] Horizontal flow for ContextMenu

4 Answers 130 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Bill Wingate
Top achievements
Rank 1
Bill Wingate asked on 13 Feb 2009, 08:06 PM
I'm trying to get a ContextMenu to display the root items horizontally. Here's the code:
                           
<telerik:RadContextMenu ID="pageSelectMenu" runat="server" ClickToOpen="false" Flow="Horizontal" > 
    <Items> 
         <telerik:RadMenuItem Text="page1" ></telerik:RadMenuItem> 
         <telerik:RadMenuItem Text="page1b"></telerik:RadMenuItem> 
    </Items> 
</telerik:RadContextMenu>

When this gets displayed, the menu items are vertical. When I look at the rendered output, the ul for the menu has
class="rmActive rmVertical rmGroup rmLevel1"

What am I missing? The control version is 2008.3.1314.35

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 16 Feb 2009, 12:45 PM
Hello Bill Wingate,

RadContextMenu does not support the requested feature. By design the context menu is vertical. The problem is that the Flow property is still visible and the users are able to set it. I will log that so the Flow property is hidden for RadContextMenu.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Bill Wingate
Top achievements
Rank 1
answered on 17 Feb 2009, 08:36 PM
Thanks.
0
a
Top achievements
Rank 1
answered on 16 Apr 2009, 10:59 AM
Hi,

Here i want to open ContextMenu by left click of mouse.

Here i set ClickToOpen property = true,

But dont get solution.

I gave asp:image as a target control id and i am using ContextMenu in gridview control.

So pls help me.
0
Princy
Top achievements
Rank 2
answered on 16 Apr 2009, 11:51 AM
Hi,

You can refer to the following demo which illustrates on how to implement a context  menu on left-click of the mouse. This should probably help you achive your scenario:
Popup Menu

Thanks
Princy.
Tags
Menu
Asked by
Bill Wingate
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Bill Wingate
Top achievements
Rank 1
a
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or