Rad Menu will not AJAX datagrids

2 posts, 0 answers
  1. Acadia
    Acadia avatar
    204 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">
    <telerik:AjaxSetting AjaxControlID="MsgGrid">
    <telerik:AjaxUpdatedControl ControlID="MsgGrid" LoadingPanelID="ralp1" />
    <telerik:AjaxSetting AjaxControlID="ExpGrid">
    <telerik:AjaxUpdatedControl ControlID="ExpGrid" LoadingPanelID="ralp1" />

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

    <!-- 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">
    <telerik:RadMenuItem Text="Setup" PostBack="false">
    <telerik:RadMenuItem Text="Messages and Self Serve" Value="M" />
    <telerik:RadMenuItem Text="Expenses" Value="E" />
    <telerik:RadMenuItem Text="Reports" PostBack="false">
    <telerik:RadMenuItem Text="Run Report" Value="R" />
    <telerik:RadMenuItem Text="Run Batch" Value="B" />

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

    What am I doing wrong here?

  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1968 posts

    Posted 31 Oct 2014 Link to this post


    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.

    Boyan Dimitrov

    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.

Back to Top