radmenu & ajaxmanager

4 posts, 0 answers
  1. Ciaran
    Ciaran avatar
    21 posts
    Member since:
    Jun 2008

    Posted 01 Dec 2009 Link to this post

    Hi

    I have 2 radmenus on a page and I use the ajaxmanagere to ajaxify the click events as per normal

    the mark up looks something like this , obviously with the specific panels to open referenced inside the <UpdatedControls> tag

    <%--menu 1 --%> 
                     
    <telerik:AjaxSetting AjaxControlID="i0"
    <telerik:AjaxSetting AjaxControlID="i1"
    <telerik:AjaxSetting AjaxControlID="i2"
     
    <%--menu 2--%> 
        
    <telerik:AjaxSetting AjaxControlID="i0"
    <telerik:AjaxSetting AjaxControlID="i1"
    <telerik:AjaxSetting AjaxControlID="i2"
    <telerik:AjaxSetting AjaxControlID="i3"
    <telerik:AjaxSetting AjaxControlID="i4"
     

    The loading panel does not seem to want to fire for Menu 2 and I have lost some functionality in Menu 1 too, Is this because the AjaxControlID's have the same name ? and if so how do I distinguish between them

  2. Yana
    Admin
    Yana avatar
    4831 posts

    Posted 03 Dec 2009 Link to this post

    Hi Ciaran,

    The whole menus should be ajaxified, not only their items, so you should set the ids of the menus to AjaxControlID.

    Greetings,
    Yana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Ciaran
    Ciaran avatar
    21 posts
    Member since:
    Jun 2008

    Posted 03 Dec 2009 Link to this post

    Yana

    Could you post an example please?
  4. Yana
    Admin
    Yana avatar
    4831 posts

    Posted 08 Dec 2009 Link to this post

    Hello Ciaran,

    Please find attached a simple page demonstrating this.

    Regards,
    Yana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top