I have two grids, a delete on Grid1 cause an add on Grid2 and vice-versa.
When I delete from Grid2 , Grid1 is nicely Ajax updated.
When I delete from Grid1, Grid2 gets updated on the 2nd delete, meaning its alway 1 row behind?
what am I missing?
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadGrid2">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid2" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
in both cases the item_command handlers are doing a rebind();
RadGrid1.Rebind();
RadGrid2.Rebind();
When I delete from Grid2 , Grid1 is nicely Ajax updated.
When I delete from Grid1, Grid2 gets updated on the 2nd delete, meaning its alway 1 row behind?
what am I missing?
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadGrid2">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid2" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
in both cases the item_command handlers are doing a rebind();
RadGrid1.Rebind();
RadGrid2.Rebind();