RadMenu_ItemClick not firing on MasterPage

3 posts, 0 answers
  1. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 01 Aug 2008 Link to this post

    I have a masterpage with a RadMenu...  the RadMenu_ItemClick fires but only 'captures'  the Item in the Root of the Menu
    It does not fire for the 'child' menu items.  Any ideas?  thanks!!!!!!!!!

    <telerik:RadMenu ID="RadMenu" Runat="server" skin="Web20"

    BorderStyle="None" style="top: 0px; left: 0px; width: 970px"

    onitemclick="RadMenu_ItemClick" >


    <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>




    <telerik:RadMenuItem runat="server" Text="Home" Font-Size="Larger"

    ImageUrl="img\home.png" ToolTip="Home" NavigateUrl="default.aspx">




    <telerik:RadMenuItem runat="server" Text="Records" Font-Size="Larger"

    ImageUrl="img\server_mail.png" ToolTip="Records">




    <telerik:RadMenuItem runat="server" Text="Search Constituents Records"






    <telerik:RadMenuItem runat="server" Text="Add Constituents Records"






    <telerik:RadMenuItem runat="server" Text="Update Constituents Records"










  2. Peter
    Peter avatar
    6637 posts

    Posted 02 Aug 2008 Link to this post

    Hello Jon,

    I noticed that you set the NavigateUrl property for some items. In this case, it is expected that the ItemClick event will not fire, since clicking on such an item will cause redirecting to the page specified by the NavigateUrl property.

    If you need to capture the ItemClick event but navigate to a page afterwards, you can use the Value property or a custom attribute to store the NavigateUrl and call Response.Redirect(). For example:

    protected void RadMenu1_ItemClick(object sender, Telerik.Web.UI.RadMenuEventArgs e)  
        //execute your custom logic here and call Response.Redirect:  

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 02 Aug 2008 Link to this post

    thanks again for great support!
Back to Top