Update Reusable Dynamic added Controls

2 posts, 0 answers
  1. Ricardo Ferreira
    Ricardo Ferreira avatar
    2 posts
    Member since:
    Sep 2009

    Posted 10 Sep 2009 Link to this post

    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
  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 15 Sep 2009 Link to this post

    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.
Back to Top