Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disposing of User Controls
Message
From
05/10/2010 11:09:18
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
05/10/2010 09:34:29
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
Application:
Web
Miscellaneous
Thread ID:
01483968
Message ID:
01483985
Views:
32
>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?
>
>Thanks!

I answered my own question. I was fearing that my user controls were not properly getting disposed, but that was not the case. It appears there's a recursive control lookup before the dispose. I thought it may have been using the designer file to determine which controls to dispose.

Back to the drawing board.
Very fitting: http://xkcd.com/386/
Previous
Reply
Map
View

Click here to load this message in the networking platform