Upload File Exe Limitations

Thread is closed for posting
1 posts, 0 answers
  1. Omlac
    Omlac avatar
    64 posts
    Member since:
    Jul 2008

    Posted 08 Sep 2008 Link to this post

    I would like to set a limit on the file types selected by the file upload control, i have done it like this:

       if(!IsPostBack)
                {
                    RadUpload1.AllowedFileExtensions = new string[] {".doc", ".txt"};
                   }
    but it keeps picking up every file in a folder. does anyone know what im doing wrong.

Back to Top