Rank: Newbie Groups: Member
Joined: 8/20/2007 Posts: 4
|
Dear,
I had the AJAX Uploader Control. I want some javascript code to be run before actually upload
file, this code is to check if the uploaded file from one of certain extesions then it will not be
uploaded otherwise upload the file
Note : I know that "AllowedExtension" list can be used, but it is too difficult to specify which
extensions to be uploaded also I do not need to upload the file then display an error message to
the user informing him that it is not allowed extension
Regards,
Tamer
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi, Please see if this thread answers your question: http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=1204Look for the sample code in the second post in the thread. Thanks
|
Rank: Newbie Groups: Member
Joined: 8/20/2007 Posts: 4
|
Thanks
|