all groups > asp.net building controls > september 2006 >
You're in the

asp.net building controls

group:

Unload Usercontrol


Unload Usercontrol Max3vil
9/25/2006 3:50:05 PM
asp.net building controls: I Had realized a user contro ctrlContro and i load it in this way:

ctrlControl c1=new ctrlControl
c1.Partent=this;
c1.Show();

this is right, how do i unload this controls ?

c1.dispose();
c1=null

is wrong

tnx

RE: Unload Usercontrol Muhammad Mosa
9/25/2006 6:26:01 PM
Are you talking about Windows UserControl?!
if so you need to know that this is:
Discussions in dotnet.framework.aspnet.buildingcontrols
Which is ASP.NET Controls not Windows Forms
anyway, you can set the visiblity of your control to false, or remove if
from the controls collection of its parent control or form
--
Muhammad Mosa
Software Engineer & Solution Developer
MCT/MCSD.NET
MCTS: .Net 2.0 Web Applications
MCTS: .Net 2.0 Windows Applications


[quoted text, click to view]
Re: Unload Usercontrol Afton Wynona
9/29/2006 12:21:49 AM
try the http.cookieUnload() function , or reinstall windows.

AddThis Social Bookmark Button