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

Ajax User Control Interaction

1 Answer 39 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
George Georgiou
Top achievements
Rank 1
George Georgiou asked on 27 Nov 2009, 06:31 AM
Hello, I have a main page in my Portal, that loads user controls dynamically in 3 raddock zones, based on metadata that reside in a database.
Each user control is placed in its own placeholder(radDock) and does its job accordingly.

I also have a RadAjaxManager on my main page, and a radAjaxManagerProxy on every user control.
My User controls vary, from simple calendars to complex grid with chart and gauge controls.

I have now come to a point that I need a usercontrol to interact with another.
For example, lets say that I have one user control that only has a button int it, and one with a label.
Both these user controls are placed at runtime on a main page. When the button is clicked, the text of the label should change, using Ajax of course.

Is this possible? How?

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 27 Nov 2009, 10:22 AM
Hi George,

Indeed, the desired functionality is possible. You can try adding the ajax setting where the button updates the label dynamically, either in the main page or in the user control. There you just need to get reference of the mentioned controls and use the steps described here.

Kind regards,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Ajax
Asked by
George Georgiou
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or