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

force RadAjaxPanel to update

1 Answer 224 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Dave Hollen
Top achievements
Rank 1
Dave Hollen asked on 28 Feb 2012, 11:43 PM
Hello,

I currently have a form that contains a User Control (User Control A).  This User Control contains yet another User Control (User Control B).

On the Form, I have a button called "Create User". 

On User Control A, I have wrapped User Control B in a RadAjaxPanel.

When I click the "Create User" button, the User Control B does not update because it is in the RadAjaxPanel.  If I take User Control B out of the RadAjaxPanel, it updates fine when clicking the "Create User" button.

However, I want to keep User Control B in the RadAjaxPanel so that when I do stuff in User Control B, only User Control B reloads and not the entire page.

How can I make the "Create User" button click force the RadAjaxPanel wrapped around User Control B post back?

I would prefer to do all of this (or as much as possible) server side.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 01 Mar 2012, 02:49 PM
Hi Dave,

The RadAjaxPanel does not provide an Update() method as the regular asp UpdatePanel does. However with RadAjax you can pass different parameters to the ajaxRequest() method and handle the controls updating in the server AjaxRequest accordingly.


Kind regards,
Maria Ilieva
the Telerik team
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 their blog feed now.
Tags
Ajax
Asked by
Dave Hollen
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or