This is a migrated thread and some comments may be shown as answers.

Update RadGrid1 from RadGrid2 with RadAjaxManager

2 Answers 23 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 16 Apr 2013, 05:34 PM
I have a webpage, with a RadAjaxManager, a RadAjaxLoadingPanel which contains RadGrid1, a second RadAjaxLoadingPanel which contains RadGrid2.  RadGrid2 has a template column which has a couple controls and an asp:ImageButton.  The desired functionality is when the ImageButton is pressed, it copies the rowdata and inserts it into RadGrid1.  This process works, however the row is not displayed in RadGrid1 until a page refresh happens.  Is there a way to trigger the reload of RadGrid1 after the ImageButton (from RadGrid2) is pressed?

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 17 Apr 2013, 04:24 AM
Hi,

Try setting the following.
aspx:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
 <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid2">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
 </AjaxSettings>
</telerik:RadAjaxManager>

Thanks,
Shinu
0
Mike
Top achievements
Rank 1
answered on 17 Apr 2013, 11:14 PM
Awesome, thanks.  I think that was the only combination of controls I didn't try.
Tags
Ajax
Asked by
Mike
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Mike
Top achievements
Rank 1
Share this question
or