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

Updating user control in a grid with AJAX

1 Answer 51 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Sadaf
Top achievements
Rank 1
Sadaf asked on 16 Jul 2013, 01:50 AM
Hi,
I have a user control in a grid which I want to update via ajax.
Scenario: I click on this link which is part of a user control. A pop up window opens up. I enter some details and save it and close pop up. Since the pop is the detailed version of the user control, now, as soon as the link  closes I have a way to make the ajax call and identify the user control and update itself from Db. Right now I can get reference of the control and update it but it does not refresh on UI.Is there anything I am doing wrong here is relevant code..
AjaxManager_AjaxRequest gets called and reference to user control as well but it does not refresh on UI. in code it does get updated by grabbing new values from database. Any ideas..?

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 18 Jul 2013, 12:00 PM
Hi Sadaf,

Make sure that all controls which will be updated when a manual ajaxRequest form the client is invoked are updated by the RadAjaxManager itself in the RadAjax settings. See the help topic below:

http://www.telerik.com/help/aspnet-ajax/ajax-client-side-api.html


Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Ajax
Asked by
Sadaf
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or