RadMenu Templates - FindControl

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 15 Nov 2013 Link to this post

    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
  2. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 18 Nov 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top