PDA

View Full Version : FileUploadField never has file in Safari



FVNoel
Oct 04, 2017, 11:53 AM
Hi,

In Safari (Version 11), the fileupload HasFile property returns False but it works as expected in Chrome.

Code:

<ext:FileUploadField meta:resourcekey="uplConsentimientoInformado" runat="server" ID="uplConsentimientoInformado" Flex="1"
LabelWidth="170" >
</ext:FileUploadField>
<ext:Button meta:resourcekey="btnSave" ID="btnSave" runat="server" Icon="Disk">
<DirectEvents>
<Click OnEvent="Guardar" />
</DirectEvents>
</ext:Button>


Public Sub guardar()
If uplConsentimientoInformado.HasFile Then
Dim a = "ok"
End If
End Sub

fabricio.murta
Oct 06, 2017, 1:30 AM
Hello @FVNoel, please use the latest version of Ext.NET.

This issue has already been handled in this thread: FileUploadField not working in IE11 (https://forums.ext.net/showthread.php?62119-FIXED-1552-4-4-1-FileUploadField-not-working-on-IE11).

Just tested it with safari 11 and the fix applied to it too.