
peter huynh
Top achievements
Rank 1
peter huynh
asked on 27 Apr 2010, 11:28 AM
Hi Admin.
The same Ex: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandmenu/defaultcs.aspx
But i want to use RadMenu with RadMenuItems the same Ex: http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/templates/defaultcs.aspx
not use RadContextMenu. Can you help me?.
Thanks!
The same Ex: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandmenu/defaultcs.aspx
But i want to use RadMenu with RadMenuItems the same Ex: http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/templates/defaultcs.aspx
not use RadContextMenu. Can you help me?.
Thanks!
4 Answers, 1 is accepted
0
Hi peter huynh,
You need to use RadContextMenu with templates, is that the requirement? Please explain in more details the scenario? Thanks
All the best,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
You need to use RadContextMenu with templates, is that the requirement? Please explain in more details the scenario? Thanks
All the best,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

peter huynh
Top achievements
Rank 1
answered on 03 May 2010, 05:28 AM
Now, I use RadMenu put in RadGrid:
<Telerik:RadMenu id="RadMenu1" runat="server"
</Items>
</telerik:RadGrid>
<telerik:RadGrid ID="RadGrid" runat="server" AutoGenerateColumns="False"
GridLines="Horizontal" OnItemDataBound="RadGrid_DataBound" AllowSorting="True" PageSize="50"
AllowPaging="True" OnItemCommand="RadGrid_ItemCommand" AllowCustomPaging="True">
<
Columns>
<telerik:GridTemplateColumn ItemStyle-Width="50px">
<ItemTemplate>
<Telerik:RadMenu id="RadMenu1" runat="server"
EnableRoundedCorners="true" EnableShadows="true">
<telerik:RadMenuItem Text="Rad Menu Parent">
<Items>
<telerik:RadMenuItem Text="Rad Menu Item 1">
<ItemTemplate>
<asp:Button runat="server" ID="btA" Text="Button A" />
</ItemTemplate>
</telerik:RadMenuItem>
<telerik:RadMenuItem Text="Rad Menu Item 2" >
<ItemTemplate>
<asp:Button runat="server" ID="btB" Text="Button B" />
</ItemTemplate>
</telerik:RadMenuItem>
<telerik:RadMenuItem Text="Rad Menu Item 3" >
<ItemTemplate>
<asp:Button runat="server" ID="btC" Text="Button C" />
</ItemTemplate>
</telerik:RadMenuItem>
</Items>
</telerik:RadMenuItem>
</Items>
</Telerik:RadMenu>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
But it has an error with list RadMenuItem. The RadMenuItems("Rad Menu Item 1", "Rad Menu Item 2", "Rad Menu Item 3") show under row of RadGrid. So i don't see any Button("Button A", "Button B", "Button C") when i onmouseover "Rad Menu Parent".
0
Accepted
Hello Peter,
I've tested the provided code and it works without a problem, please check the attached screenshot.
Regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
I've tested the provided code and it works without a problem, please check the attached screenshot.
Regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

peter huynh
Top achievements
Rank 1
answered on 13 May 2010, 02:32 AM
Sorry Yana. Because i had a report with my teacher, so i didn't replay soon. I think that my code has a problem at code CSS.
Thanks for help!
Thanks for help!