Welcome Guest Search | Active Topics | Sign In | Register

PreUpload Event in AJAX Uploader Control Options
TAMER
Posted: Monday, August 11, 2008 7:43:02 AM
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
eo_support
Posted: Monday, August 11, 2008 8:41:57 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

Please see if this thread answers your question:

http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=1204

Look for the sample code in the second post in the thread.

Thanks
TAMER
Posted: Monday, August 11, 2008 10:21:09 AM
Rank: Newbie
Groups: Member

Joined: 8/20/2007
Posts: 4
Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.