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!
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!