Rad Menu will not AJAX datagrids

2 posts, 0 answers
  1. Acadia
    Acadia avatar
    203 posts
    Member since:
    May 2005

    Posted 28 Oct 2014 Link to this post

    Hello All,

    I'm not sure how to explain this so here goes.  I have a RadMenu with two menu items.  Each menu item simply shows one grid and hides the other.  The grids themselves are AJAXED and work fine.  But when I try to add the two grids as Updated Controls beneath the RadMenu in AJAX I get this error:

    "0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'PRM_MissingPanel': object is null or undefined"

    Here is my jax code:

    <telerik:RadAjaxManagerProxy ID="ajaxmp" runat="server">
    <AjaxSettings>
    <telerik:AjaxSetting AjaxControlID="MsgGrid">
    <UpdatedControls>
    <telerik:AjaxUpdatedControl ControlID="MsgGrid" LoadingPanelID="ralp1" />
    </UpdatedControls>
    </telerik:AjaxSetting>
    <telerik:AjaxSetting AjaxControlID="ExpGrid">
    <UpdatedControls>
    <telerik:AjaxUpdatedControl ControlID="ExpGrid" LoadingPanelID="ralp1" />
    </UpdatedControls>
    </telerik:AjaxSetting>

    <!--This triggers the error -->
    <telerik:AjaxSetting AjaxControlID="rmWl">
    <UpdatedControls>
    <telerik:AjaxUpdatedControl ControlID="rmWl" LoadingPanelID="ralp1" />
    <telerik:AjaxUpdatedControl ControlID="MsgGrid" LoadingPanelID="ralp1" />
    </UpdatedControls>
    </telerik:AjaxSetting>
    </AjaxSettings>
    </telerik:RadAjaxManagerProxy>

    <!-- Here is the radmenu -->
    <div style="text-align: center; margin-top: 5px; margin-bottom: 5px">
    <telerik:RadMenu runat="server" ID="rmWl" Flow="Horizontal" CssClass="MyRadMenu" RenderMode="Classic" OnItemClick="rmMenu_ItemClick">
    <Items>
    <telerik:RadMenuItem Text="Setup" PostBack="false">
    <Items>
    <telerik:RadMenuItem Text="Messages and Self Serve" Value="M" />
    <telerik:RadMenuItem Text="Expenses" Value="E" />
    </Items>
    </telerik:RadMenuItem>
    <telerik:RadMenuItem Text="Reports" PostBack="false">
    <Items>
    <telerik:RadMenuItem Text="Run Report" Value="R" />
    <telerik:RadMenuItem Text="Run Batch" Value="B" />
    </Items>
    </telerik:RadMenuItem>
    </Items>
    </telerik:RadMenu>
    </div>

    For what it's worth, both grids are in a pageview, the menu is not.

    What am I doing wrong here?

    Thanks!
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 31 Oct 2014 Link to this post

    Hello,

    In order to investigate your case we would a bit more information. For example we would need the RadMultiPage, PageViews and Grids declaration. Both RadMenu items do have PostBack set to "false" so clicking on the RadMenu items does not perform post-back. Could you please explain how exactly show/hide grids? 

    In order to avoid sharing your project information and be able to attach a runnable sample project you can open a support ticket. In the forum threads you can only attach images.

    Regards,
    Boyan Dimitrov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top