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

asynchronous postback inside radGrid editForm userControl

1 Answer 120 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 2
Alex asked on 21 Mar 2013, 01:04 AM
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?


1 Answer, 1 is accepted

Sort by
0
Alex
Top achievements
Rank 2
answered on 22 Mar 2013, 12:59 PM

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...

Tags
Ajax
Asked by
Alex
Top achievements
Rank 2
Answers by
Alex
Top achievements
Rank 2
Share this question
or