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

RadMenu Templates - FindControl

1 Answer 47 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 15 Nov 2013, 12:34 PM
Hi

This isn't a Radcontro issue, just looking for some help. Below is my Menu markup, I'm having trouble getting a handle on the radioButtonList on page load.

<telerik:RadMenu ID="rmAncillery" Runat="server" EnableEmbeddedSkins="false" Skin="Activity" ShowToggleHandle="false" ClientIDMode="Static" >
    <Items>
        <telerik:RadMenuItem Text="Logged in as Admin to Hospital 1" PostBack="false" ImageUrl="../App_Themes/Images/cog_16.png" i >
                <Items>
                    <telerik:RadMenuItem>
                        <ItemTemplate>
                            <asp:RadioButtonList ID="rblSiteGroup" runat="server"  AutoPostBack="true" CssClass="siteGroup"></asp:RadioButtonList>
                        </ItemTemplate>
                    </telerik:RadMenuItem>
 
                    <telerik:RadMenuItem>
                        <ItemTemplate>
                            <telerik:RadButton ID="btnSendAlert" runat="server" EnableEmbeddedSkins="False" Skin="Activity" Text="Send Alert" CssClass="nudge" Visible="true" AutoPostBack="false" Width="100px" >
                                <Icon PrimaryIconUrl="../App_Themes/Images/CallMessage_16.png" />
                            </telerik:RadButton>
                        </ItemTemplate>
                    </telerik:RadMenuItem>
 
                    <telerik:RadMenuItem>
                        <ItemTemplate>
                            <telerik:RadButton ID="btnLogOut" runat="server" EnableEmbeddedSkins="False" Skin="Activity" Text="Logout" CssClass="nudge" Visible="true" AutoPostBack="false" Width="100px" >
                                <Icon PrimaryIconUrl="../App_Themes/Images/locked_16.png" />
                            </telerik:RadButton>
                        </ItemTemplate>
                    </telerik:RadMenuItem>
                </Items>
        </telerik:RadMenuItem>
    </Items>
</telerik:RadMenu>

Andy

1 Answer, 1 is accepted

Sort by
0
Helen
Telerik team
answered on 18 Nov 2013, 09:17 AM
Hi,

Please refer to the following article:

http://www.telerik.com/help/aspnet-ajax/menu-templates-accessing-controls.html

Regards,
Helen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Menu
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Helen
Telerik team
Share this question
or