This is a migrated thread and some comments may be shown as answers.

Rad Menu will not AJAX datagrids

1 Answer 7 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Acadia
Top achievements
Rank 1
Acadia asked on 28 Oct 2014, 07:13 PM
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!

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 31 Oct 2014, 03:02 PM
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.

 
Tags
Menu
Asked by
Acadia
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or