Update RadGrid1 from RadGrid2 with RadAjaxManager

3 posts, 1 answers
  1. Mike
    Mike avatar
    74 posts
    Member since:
    Mar 2013

    Posted 16 Apr 2013 Link to this post

    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. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 16 Apr 2013 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mike
    Mike avatar
    74 posts
    Member since:
    Mar 2013

    Posted 17 Apr 2013 Link to this post

    Awesome, thanks.  I think that was the only combination of controls I didn't try.
Back to Top