I have a problem with the file upload control in MVC. My DOM element looks like @Html.TextBoxFor(m => m.logo, new { id = "logoUpload", type = "file", @accept = "image/*", @onchange = "showpreview(this);" }) onChange event looks like function showpreview(input) { if (input.files && input.files[0]) { var logo = $('#logoUpload')[0].value; var fileName = logo.match(/[^\/\\]+$/); var extension = fileName[0].substr((fileName[0].lastIndexOf('.') + 1)); extension = extension.toLowerCase(); if (extension != "jpe" && extension != "jpg" && extension != "jpeg" && extension != "gif" && extension != "png" && extension != "bmp" && extension != "tif" && extension != "tiff" && extension != "psd") { …

Member Avatar
+0 forum 0

I am trying to connect to an external server via FTP using windows explorer. On other computers I have no problems but on 2 computers, the windows explorer comes up and asks for the password as usual but will then run through twice and time out. Clicking on the refresh button then brings up the relevant folders and the connection is made. Unfortunately while this is eventually working, it takes a considerable time to come up. I am running windows 7 and IE 9. I have turned off all firewalls, doesn't help. I have also added the website as a …

Member Avatar
+0 forum 0

I am currently using a anylinkmenu in my website but for some reason it is not showing in IE9. The menu works and you can click on the links but the images aren't displaying. Does anybody know if there is an image display compatibility issue in IE9 please. Best Regards, Tom.

Member Avatar
+0 forum 0

The End.