asynchronous postback inside radGrid editForm userControl

2 posts, 0 answers
  1. Alex
    Alex avatar
    16 posts
    Member since:
    Nov 2012

    Posted 20 Mar 2013 Link to this post

    my page (productionEntry.aspx) has a radGrid which contains a radAjaxManager whose settings allow for asynchronous postbacks of the radGrid:
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadGridProductionOrders">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGridProductionOrders" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>

    so RadGridProduictionOrders asynchronously posts back, which is fine.
    now, however, the radGrid's editForm is a popup user control, and what i'd like to accomplish is to asynchronously postback some of the user control's content.
    i have tried doing this with a radAjaxManagerProxy and a radAjaxPanel together and with each by itself inside the user control. each time the page asynchronously posts back according to the settings in the radAjaxManager from the productionEntry.aspx page.
    this was the markup for the radAjaxManagerProxy in the user control. the content that i wanted to post back was inside Panel1:
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Panel1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Panel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>


    how do i need to setup the page and/or user control to accomplish what i need?


  2. Alex
    Alex avatar
    16 posts
    Member since:
    Nov 2012

    Posted 22 Mar 2013 Link to this post

    i contacted telerik regarding this issue, and their response was that it was not possible:

    Although the edit form is in a pop-up window it is still part from the RadGrid. On the server the pop-up control is rendered as part of RadGrid, so it is an integral part of RadGrid. Keeping this in mind and knowing that RadGrid is a composite control that should be updated as a whole I am afraid that your requirement could not be achieved with RadAjaxManager. The postback will be always made by RadGrid and you will need to update always the RadGrid which will close and reset the values in the edit form.

    hopefully this will help others down the road...

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top