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

How to implement Ajax in RadGrid's EditForm?

1 Answer 73 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Hong asked on 19 Jan 2009, 09:06 AM
Hi Telerik,
I have a RadGrid with EditFormType="WebUserControl" .
In the webusercontrol, there is a button clicking which will update a textbox's text.

The problem is that when I click the button in the editform, it will reload the entire grid each time.
But the only important behavior I want is to make it no reloading the entire grid when clicking the button.
To reach the goad, I tried to add an AjaxManagerProxy into the web user control.
The code is as below:


--There is code fragment in web user control EditForm.ascx--%>

telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">  

        <telerik:AjaxSetting AjaxControlID="btnSubmit">  
                <telerik:AjaxUpdatedControl ControlID="textCompanyName" /> 
                <telerik:AjaxUpdatedControl ControlID="textProjectName" /> 

However, the RadAjaxManagerProxy seems not to work... When I click the button, it still reload the whold grid.

What should I do in this case?

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 22 Jan 2009, 07:18 AM
Hello Hong,

One possible approach in this case would be to add the ajax settings to the control dynamically. This would allow you to specify the controls which you need to have updated.
I hope this helps.

Best wishes,
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question