Welcome Guest Search | Active Topics | Sign In | Register

AJAXUPloader AllowedExtension not masking Options
richardbiscardi
Posted: Thursday, March 27, 2008 11:04:45 PM
Rank: Newbie
Groups: Member

Joined: 3/24/2008
Posts: 2
In the property: AllowedExtension, I place .pdf

But when I use the browse button, I can still see all files. Is there anyway to limit the types of files a user sees? I know the uploader catches and throws an error, but I rather have the control hide the non-allowed files from displaying in the first place.
eo_support
Posted: Friday, March 28, 2008 6:33:28 AM
Rank: Administration
Groups: Administration

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

That makes perfect sense, but we do not believe it is possible. There are no DHTML interface to filter files in the file browsing dialog.

Thanks

richardbiscardi
Posted: Friday, March 28, 2008 6:42:20 AM
Rank: Newbie
Groups: Member

Joined: 3/24/2008
Posts: 2
But I believe the OpenFileDialog control in .NET has that capability. Anyway to just inherit that functionality in the future?
eo_support
Posted: Friday, March 28, 2008 6:48:33 AM
Rank: Administration
Groups: Administration

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

OpenFileDialog and file browsing dialog inside browsers are two very different things. Browsers implements a very limited set of features and exposes them through DOM, which can be accessed via JavaScript. None of the .NET stuff run on the client side. All .NET stuff runs on the server side when using ASP.NET. Client side is all DOM and JavaScript.

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.