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

    Requirements

    r.a.d.controls version

    r.a.d.controls Q3 2006    

    .NET version

    .NET 2.0

    Visual Studio version

    Visual Studio 2005

    programming language

    C#

    browser support

    all browsers supported by r.a.d.controls


     
    PROJECT DESCRIPTION
    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