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

Update Reusable Dynamic added Controls

1 Answer 48 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ricardo Ferreira
Top achievements
Rank 1
Ricardo Ferreira asked on 10 Sep 2009, 09:05 AM
Hello

My question is this.. i have a multiple controls that can be used on my aplication for example control1 on page2 is updated by control10, control1 on page22 is updated by control40 so i can“t add specific ajax behavior to then. Because it depends of the controls that are on the especific page.

My control are like webparts every usercontrol is in RadAjaxPanel so i need to update one panel if there is a change e one other

I have build a notification class that when a control that have da responsability to update other fires a event the other are register to that event and recieve the notification for update. I try to force the RadAjaxPanel to do a postback so the control can refesh but does not work ... 

Any ideas?

Thanks

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 15 Sep 2009, 09:39 AM
Hi Ricardo,

In order to achieve your goal, I would suggest you to try the below options:
  • Simulate a Button click, or other control of the second panel event, when certain action is performed in the first panel.
  • Manually update the second RadAjaxPanel UpdatePanel. This approach is rather the same as using ASP:UpdatePanels.

For your convenience I am attaching a sample project illustrating how you could implement both of the above.

Let me know if this helps. 

Greetings,
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
Ricardo Ferreira
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or