Using ResolveUpdatedControls event

1 posts, 0 answers
  1. Vladimir Milev
    Vladimir Milev avatar
    19 posts
    Member since:
    Jul 2005

    Posted 21 Nov 2006 Link to this post


    r.a.d.controls version

    r.a.d.controls Q3 2006    

    .NET version

    .NET 2.0

    Visual Studio version

    Visual Studio 2005

    programming language


    browser support

    all browsers supported by r.a.d.controls

    This example illustrates how you can load two user controls and dynamically ajaxify them using r.a.d.ajax manager. You will also see how to handle a special case when you unload the user control initiating the ajax request by implementing ResolveUpdatedControls event.

    When you click the link button in the second pageview control of the tabstrip, you attempt to unload the usercontrol in which the tabstrip is hosted and load another control which contains a menu in its place.
    Normally you will get an exception that the initiating control could not be found (because it has been unloaded). This example you will see how to proceed with this situation by implementing ResolveUpdatedControls event.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.