Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Ajax Uploader
»
are you required to dispose the control?
are you required to dispose the control?
Last post 10-11-2009, 11:37 PM by
cutechat
. 1 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
10-09-2009, 2:41 PM
56284
jpchatt
Joined on 06-25-2009
Posts 45
are you required to dispose the control?
Reply
Quote
say you have:
<
CuteWebUI:UploadPersistedFile
ID
="Uploader1"
runat
="server"
/>
and in the code behind you do:
Uploader1.CopyTo(uploadingFile.filePath);
are you then required to do:
Uploader1.Dispose();
???????????????????
10-11-2009, 11:37 PM
56328
in reply to
56284
cutechat
Joined on 07-22-2004
Posts 2,332
Re: are you required to dispose the control?
Reply
Quote
Hi,
The uploader will dispose when the page Unload, you do not need to dispose it.
Disposing the uploader will dispose the UploadProvider,
It design for DataBase provider etc, the buildin provider do not need to be disposed.
Regards,
Terry