There is an example for Triggering an AJAX call outside of the grid
Can I do this on an expanded table within hierarchy while preserving the state of the hierarchy? Any tips?
Thanks.
1 Answer, 1 is accepted
0
Georgi Krustev
Telerik team
answered on 06 Apr 2009, 09:17 AM
Hi Alexei,
You can update for instance the GridViewTable placed in the expanded row with Ajax call outside of the grid. To accomplish this task first you need to perform an Ajax call:
<input
id="btnClient"
type="button"
value="Make client AjaxRequest"
onclick="clientClick();"/>
On the server-side you can perform an update of the expanded row, for example review the following code:
Please have in mind that in order to preserve the state of the grid, you should use advanced data-binding. If you perform an update of the nested-view item the main grid will be rebound, too.