Hi,
I'm curious as to whether the loading panel is compatibile with composite controls.
I have created a composite control in an external project and am importing it into my web application. When I attempt to use the loading panel with the control, I don't see anything as the data loads.
01.
<
telerik:RadAjaxManager
ID
=
"RadAjaxManagerGrid"
runat
=
"server"
UpdatePanelsRenderMode
=
"Inline"
>
02.
<
AjaxSettings
>
03.
<
telerik:AjaxSetting
AjaxControlID
=
"ShareSelectorGrid"
>
04.
<
UpdatedControls
>
05.
<
telerik:AjaxUpdatedControl
ControlID
=
"ShareSelectorGrid"
LoadingPanelID
=
"RadAjaxLoadingPanelGrid"
/>
06.
</
UpdatedControls
>
07.
</
telerik:AjaxSetting
>
08.
</
AjaxSettings
>
09.
</
telerik:RadAjaxManager
>
10.
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanelGrid"
runat
=
"server"
/>
When I instead try to use the subcontrols referenced inside of the composite control, I get an error:
"Unhandled exception at line 1, column 132567 in http://localhost:8756/bundles/MsAjaxJs?v=c42ygB2U07n37m_Sfa8ZbLGVu4Rr2gsBo7MvUEnJeZ81
0x800a138f - JavaScript runtime error: Unable to get property 'PRM_MissingPanel' of undefined or null reference"
Here's the code that generates this error:
01.
<
telerik:RadAjaxManager
ID
=
"RadAjaxManagerGrid"
runat
=
"server"
UpdatePanelsRenderMode
=
"Inline"
>
02.
<
AjaxSettings
>
03.
<
telerik:AjaxSetting
AjaxControlID
=
"RadButtonAAFCULoadShareIDs"
>
04.
<
UpdatedControls
>
05.
<
telerik:AjaxUpdatedControl
ControlID
=
"SymDropDownListShareLoanAAFCUShareIDs"
LoadingPanelID
=
"RadAjaxLoadingPanelGrid"
/>
06.
</
UpdatedControls
>
07.
</
telerik:AjaxSetting
>
08.
</
AjaxSettings
>
09.
</
telerik:RadAjaxManager
>
10.
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanelGrid"
runat
=
"server"
/>