What is the proper procedure to ajaxify controls contained in layout templates of RadGrids or Formviews?
e.g. if RadFormView1 contains an itemtemplate which contains a RadGrid, how does one properly configure the RadAjaxManager to ajaxify the grid?
I tried something like this:
01.
<
telerik:RadAjaxManager
runat
=
"server"
ID
=
"RadAjaxManager_ManualRequest"
>
02.
<
AjaxSettings
>
03.
<
telerik:AjaxSetting
AjaxControlID
=
"RadFormView_Customers"
>
04.
<
UpdatedControls
>
05.
<
telerik:AjaxUpdatedControl
ControlID
=
"RadFormView_Customers"
LoadingPanelID
=
"RadAjaxLoadingPanel_ManualRequest"
/>
06.
</
UpdatedControls
>
07.
</
telerik:AjaxSetting
>
08.
<
telerik:AjaxSetting
AjaxControlID
=
"RadGrid_Addresses"
>
09.
<
UpdatedControls
>
10.
<
telerik:AjaxUpdatedControl
ControlID
=
"RadGrid_Addresses"
LoadingPanelID
=
"RadAjaxLoadingPanel_ManualRequest"
/>
11.
</
UpdatedControls
>
12.
</
telerik:AjaxSetting
>
13.
</
AjaxSettings
>
14.
</
telerik:RadAjaxManager
>
Using this definition (where Radgrid_Addresses is a control contained in the ItemTemplate of the Formview), the ajax request seems to work for the first request to the radgrid (for example, moving to the next page) but subsequent requests (moving back or forward a page again) seem to affect the entire formview rather than just the grid.
Thanks,