Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader File Types Options
handii
Posted: Sunday, May 25, 2008 6:15:26 PM
Rank: Newbie
Groups: Member

Joined: 5/5/2008
Posts: 9
Hi,

How can I configure AJAXUploader so it only uploads certain file types. I want to limit openfiledialog to show only image type files when users click browse. Is it possible?
eo_support
Posted: Sunday, May 25, 2008 6:33:30 PM
Rank: Administration
Groups: Administration

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

You can limit the type of files to be uploaded by setting the uploader's AllowedExtension property. However you can not restricts the type of the files open file dialog shows.

Thanks
handii
Posted: Monday, May 26, 2008 2:35:07 AM
Rank: Newbie
Groups: Member

Joined: 5/5/2008
Posts: 9
How do I set AllowedExtension property? Is it something like that:

AllowedExtension = "jpg;png;gif"?
eo_support
Posted: Monday, May 26, 2008 6:54:48 AM
Rank: Administration
Groups: Administration

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

No. Please see here for details:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.AJAXUploader.AllowedExtension.html

The same information is also available in your local help file via -> Start -> All Programs -> EO.Web Controls 2007.2 -> EO.Web for ASP.NET 1.1/2.0 -> Documention.

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.