GridView Ajax Control in EditItemTemplate of RadGrid
1. I have a RadGrid that would like to be ajaxed.
2. Inside a GridTemplateColumn / EditItemTemplate I have a <asp:GridView.
3. inside the GridView I have a button named "ButtonAdd".
When I click "ButtonAdd" I want to GridView to load via ajax and it should have a loading panel. But I do not want a loading panel on the entire RadGrid.
When I click the Update/Insert/Delete/Cancel buttons or do any normal RadGrid stuff I want the entire RadGrid to show a loading panel like it does now.
This code allows the GridView to work correctly but the RadGrid is not longer ajaxed.
This code always shows the loading panel over the entire RadGrid, but that is not what I need.
Can this be done?
Thanks, Marty
1. I have a RadGrid that would like to be ajaxed.
2. Inside a GridTemplateColumn / EditItemTemplate I have a <asp:GridView.
3. inside the GridView I have a button named "ButtonAdd".
When I click "ButtonAdd" I want to GridView to load via ajax and it should have a loading panel. But I do not want a loading panel on the entire RadGrid.
When I click the Update/Insert/Delete/Cancel buttons or do any normal RadGrid stuff I want the entire RadGrid to show a loading panel like it does now.
This code allows the GridView to work correctly but the RadGrid is not longer ajaxed.
<
telerik:RadAjaxManagerProxy
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"Gridview1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"Gridview1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManagerProxy
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
/>
This code always shows the loading panel over the entire RadGrid, but that is not what I need.
<telerik:RadAjaxManagerProxy ID=
"RadAjaxManager1"
runat=
"server"
>
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID=
"Gridview1"
>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID=
"Gridview1"
LoadingPanelID=
"RadAjaxLoadingPanel1"
/>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID=
"RadGrid1"
>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID=
"RadGrid1"
LoadingPanelID=
"RadAjaxLoadingPanel1"
/>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
<telerik:RadAjaxLoadingPanel ID=
"RadAjaxLoadingPanel1"
runat=
"server"
/>
Can this be done?
Thanks, Marty