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

Item Template and Click to Open not works

1 Answer 45 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Stalin
Top achievements
Rank 1
Stalin asked on 11 Dec 2013, 04:13 PM

Below is my sample code where the first menu on click is not redirecting,

<telerik:RadMenu ID="RadMenu1" runat="server" EnableRoundedCorners="true" EnableShadows="true"
        ClickToOpen="true">
        <Items>
            <telerik:RadMenuItem>
                <ItemTemplate>
                    <a class="rmLink" href="http://www.google.com"><span class="rmText">This is the root item</span></a>
                </ItemTemplate>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Text="Edit" AccessKey="E">
                <Items>
                    <telerik:RadMenuItem ImageUrl="~/Menu/Images/21undo.gif" Text="Undo" AccessKey="U" />
                    <telerik:RadMenuItem IsSeparator="True" />
                    <telerik:RadMenuItem ImageUrl="~/Menu/Images/cut.png" Text="Cut" AccessKey="T" />
                    <telerik:RadMenuItem ImageUrl="~/Menu/Images/copy.png" Text="Copy" AccessKey="C" />
                    <telerik:RadMenuItem ImageUrl="~/Menu/Images/paste.png" Text="Paste" AccessKey="P" />
                    <telerik:RadMenuItem ImageUrl="~/Menu/Images/23clipboard.gif" Text="Clipboard..."
                        AccessKey="b" />
                    <telerik:RadMenuItem IsSeparator="True" />
                </Items>
            </telerik:RadMenuItem>
        </Items>
    </telerik:RadMenu>
Tried my best but didn't find any solution. 

Anyone have solution ? Looking for help !

Thanks,
Stalin

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 12 Dec 2013, 03:20 AM
Hi Stalin,

Please have a look into this online demo which deals the same scenario.

Thanks,
Princy.


Tags
Menu
Asked by
Stalin
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or