RadUpload will not upload certian file type

Thread is closed for posting
2 posts, 0 answers
  1. Mike
    Mike avatar
    13 posts
    Member since:
    Apr 2007

    Posted 17 Oct 2008 Link to this post

    Hi,

    We are having a weird problem with the RadUpload control. It works on certain files, but when we try and upload a video or audio file we get the following:
    There is no uploaded file, or the uploaded file is invalid. Uploaded file: unknown

    Here is the init code:

    RadUpload1.AllowedFileExtensions =

    new string[0];
    RadUpload1.MaxFileSize = 5242880;
    // 5 MB
    lblInstructions.Text = string.Format(UploadInstructions, "", "5 MB");
    UploadItemType = 4;
    RadUpload1.TargetFolder =
    "~/uploads/other";

     

    Please help.

  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 20 Oct 2008 Link to this post

    Hello mgaughan,

    I did not see what are the AllowedExtensions for RadUpload in your case.

    Regards,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top