Rank: Newbie Groups: Member
Joined: 4/3/2015 Posts: 1
|
Getting a fileuploader error document has an extention that is not allowed ( it is a word .docx). <eo:FileExplorer ID="FileExplorer1" runat="server" RootFolder="~/Uploads" AllowedExtension=".docx|.doc|.ppt|.pptx|.png|.gif|.xls|.xlsx|" AllowCreateFolder="True" AllowDeleteFolder="True" AllowRenameFile="True" AllowRenameFolder="True" AllowUpload="True" AllowDeleteFile="True" EnableKeyboardNavigation="True" MaxUploadFileSize="10000">
please advise
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
The AllowedExtension on the FileExplorer controls what files are listed in the Grid that displays existing files on the server. It does not control what files are allowed to be uploaded. To control the uploader, you will need to set the AllowedExtension property on the AJAXUploader control directly. You can check your .aspx source code and you should be able to find the AJAXUploader control in the FileExplorer's LayoutTemplate.
Thanks!
|