Error Creating Control - Uploader1?

  •  01-22-2009, 8:24 AM

    Error Creating Control - Uploader1?

     
     

    I have placed the code from the multiple-files-upload.aspx example.

     I cut-n-paste the asp code into my upload.aspx and cut-n-paste the script into my upload.aspx.cs

     1. In Design View, the Uploader1 control shows an error:

          'Upload Multiple Files (Max 1-M)' could not be set on property 'InsertText'.

     2. SampleUtil errors so I commented it out like so:
         
          //SampleUtil.SetPageCache();


     3. I set the file path to our web folder like so:

     
    args.CopyTo(Server.MapPath("~\\temp\\") + args.FileName);


     And it works fine however,

     Q. Why do I have files like this: persisted.b7d1e76f-2876-422f-ae51-689a4afa371f.crownPoint640x480.jpg.resx?

     4. The "TempDirectory" property default is ~/UploaderTemp.

     Q. Should this be set to our ~/temp directory?

     
View Complete Thread