Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disposing of User Controls
Message
 
À
05/10/2010 09:34:29
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
Application:
Web
Divers
Thread ID:
01483968
Message ID:
01483990
Vues:
28
>Hello,
>I'm trying to track down a memory leak in an ASP.NET application, and it has brought me to question how User Controls are disposed. Since we don't explicitly dispose of them, I'm assuming it's part of the ASP.NET page lifecycle, is that correct?
>

Yes, they'll get disposed of by the framework. Do you happen to have any external event handlers (handlers for things other than controls)? If so, you might want to check to make sure you're removing them.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform