Support forums
in

office 2007 file format filter

Last post 11-01-2012, 8:26 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  10-31-2012, 1:43 PM 75121

    office 2007 file format filter

    When I add docx or pptx to the list of allowed file extentions, the filtering no longer works in the HTML5 file browser. It does still work in Flash.  

     

    I am using dotNet 4.0 Webforms.

  •  10-31-2012, 2:15 PM 75122 in reply to 75121

    Re: office 2007 file format filter

    Hi mharcement,

     

    The dialog filter function is based on silverlight and flash plug-in, if you are using the html5 upload mode, then the control will check the file extension at server side, so it will not makes the client upload the wrong extension file.

     

    Regards,

     

    Ken 

  •  10-31-2012, 3:18 PM 75124 in reply to 75122

    Re: office 2007 file format filter

    http://ajaxuploader.com/demo/simple-upload-Validation.aspx

     

    That demo works without flash or silverlight and shows only custom files.  If I don't add docx or pptx to the extention list then I can reproduce your demo. How do I make it work with docx and pptx?

  •  11-01-2012, 8:26 AM 75132 in reply to 75124

    Re: office 2007 file format filter

    Hi mharcement,

     

    the html5 mode can not limit the user to select what file extensions, it only work for silverlight and flash mode. Like the screenshot below.

     

    maybe you can set the silverlight and flash upload mode in a higher priority. like the code below.

     

     <CuteWebUI:Uploader runat="server" ID="Uploader1" UploadTypePriority="Silverlight,Flash,HTML5">
            </CuteWebUI:Uploader>
     

     

     

     

    Regards,

     

    Ken 

View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems