foldername in fileuploader

Apr 2, 2009 at 1:58 AM
I am trying to change the name in the file uploader using this code:

Line 6:      Protected Overloads Overrides Sub OnInit(ByVal e As EventArgs)
Line 7:          DirectCast(FileUploader1.Adapters(0), FileSaverAdapter).FolderName = "mynewfolder"
Line 8:      End Sub


When I run the page, I get this error: Compiler Error Message: BC30002: Type 'FileSaverAdapter' is not defined.

help please ...thank you
Apr 2, 2009 at 2:15 AM
solved it. I forgot

Imports

 

com.flajaxian

 

Apr 9, 2009 at 1:26 AM
Edited Apr 9, 2009 at 1:27 AM

Hi rmoors.

I have a page exclusive for the FileUploader, but I need to use with a site in sharepoint. I can´t to integrate this solution with bouth applications, so, I uploaded the page in a document library and then I called with other page made in sharepoint. Some like page in page but I don´t know where are looking the folder for the files.

Somebody know this localization?

Thanks and regards.