Hi,
I want to download base 64 image on button click in IE 8 and 10. I have used anchor tag download attribute and window.open() but its not downloading image. Same code is working in chrome.
Please advise.
-Thanks in Advance
Nilesh Jain
Hi,
I want to download base 64 image on button click in IE 8 and 10. I have used anchor tag download attribute and window.open() but its not downloading image. Same code is working in chrome.
Please advise.
-Thanks in Advance
Nilesh Jain
I have spent 2 days searching and have not found any good sample codes that can produce a dropdown menu like onMicrosoft Store. Has anyone here done something similar?
I found some bootstrap codes (Bootstrap 3 dropdown) and jQuery codes (jQuery Multi-level Navigation) that produces a multilevel dropdown menu, but do not have submenu open like Microsoft store. The 2nd level sub-menu is smaller and doesn't have a way to put the image.
Any help would be appreciated.
Is Windows Update KB3087985 (to fix an Internet Explorer problem) a huge file?
Could it have used 3.55 Gigabytes (of my 5.0 GB data utilization monthly allowance) to download?
Hi,
I was hoping we would have fixed this in the edge version, much to my disappointment..can someone help
Hi
How to run this code in my browser? I tried, and notepad did not open.
<script language="VBScript">
function fnShellExecuteVB()
dim objShell
set objShell = CreateObject("shell.application")
objShell.ShellExecute "notepad.exe", "", "", "open", 1
set objShell = nothing
end function
https://msdn.microsoft.com/en-us/library/windows/desktop/gg537745(v=vs.85).aspx
thx
Hi,
In my Windows 10 machine, I have Edge browser set up as the default browser. However, when I double click on a XML file, the file opens up in IE 11. How can I change that behavior to open up directly in Edge? Also, when I right click on the XML file and try to chose the default app for opening these kind of files, I am not able to locate the Edge browser app. Where can I find it ? Does some kind of ".exe" or likewise exist for Edge browser which on double click can launch the Edge browser directly ?
Thanks,
Abhishek
Based on a link I have found (can't post it here due to the forum software) there is apparently a way to show a special purpose page displaying:
"
This website needs Internet Explorer This website uses technology that will work best in Internet Explorer.
Open with Internet Explorer
Keep going in Microsoft Edge
"
It will be very helpful for my applications using Active X controls. I have already code such as
<meta http-equiv="X-UA-Compatible" content="IE=10;requiresActiveX=true" />
in my head section (added in the past to avoid Metro style for Win 8), but it doesn't do the trick (unlike someone mentioned at the link above).
I'll be glad to learn about the proper code to add to achieve this.
To print(press Ctrl-P or window.print()), Internet Explorer re-fetch contents (ex. images).
In this case IE sends only session Cookies (without expiration time).
Cookies with expiration time are not sent.
Therefore, IE cannot get contents which require authorization.
I've found this on IE 11.
We are usingnavigator.msLaunchUri method as protocol handler in our application. As per the MSDN documentif the user's system does not have a program registered to handle a specific protocol, the Internet Explorer will invoke thenoHandlerCallback. It is the fallback mechanism which the developer can define to handle when such scenarios happen. But in case of EDGE thenoHandlerCallback is not executed. It is automatically redirecting to the default fallback mechanism of opening the Windows Store dialog to open the program. Can someone confirm if such issue is happening in EDGE? If yes, can we expect a fix sometime soon?
Thanks.
While testing our WEB application using IE10 on Windows 7 operating System, we have found the difference between Windows 7 32 bit and 64 bit operating system because of which we are seeing application behaves differently with respect toexplorer bars.
We are using customized explorer bar.
We have installed our 32 bit application in Windows 7 (64 bit) operating system with IE10.
Problem description
Application installed in Windows 7 64 BIT Operating System.
Multiple users will be created in the machine where application is installed.
We see that whenever a new user(Standard User account) created and logged into the workstation, Explorer bar isNOT loading until weremove the following registry keys.
Application installed in Windows 7 32 BIT Operating System.
We are NOT facing this issue. Application is working as expected. We no need to delete any registry keys.
From the MICROSOFT site, we have understood the reason for this issue is theEnumeration cache.
Following is the reference link
https://msdn.microsoft.com/en-us/library/windows/desktop/cc144099(v=vs.85)
NOTE :
The same setup of our application is working without any issue in Windows 7 32 bit operating system.
Also We observed the same issue in other versions of IE(8 and 9) as well.
Now the question is Enumeration cache happens only in 64 bit version of windows?
Is 32 bit operating system have any different way for the enumeration cache?
Any .mht file opened using IE11, the mode is getting changed to default IE 7(this has been observed using F12-> Developer Tools).
This problem exists with only IE11, I have tried in IE9 and .mht files are working fine.
1. Is this a known issue?
2. why the mode set to IE7(default), when IE11 is used?
Would you please provide any workaround to make sure that its always set IE mode to latest(edge).
Regards,
Syam Devendla
I was warned not to download windows 10. That it was a scam and would crash all your devices. Well my Sony Blu- ray player apps won't open . You tube, Hulu Plus, Amazon and more. I know it is from the windows 10 download. So now Microsoft What shall I do?
ClientX does not give me the position of the moues when i close the window
With IE 10 it works without any Problems, i ve tested it with the last two version of the IE11 (11.0.12 and 11.0.13).
I put a little site for testing.
<html><head><meta http-equiv="X-UA-Compatible" content="IE=11"/> // To change the browser mode<title>ClientX Example</title><script type="text/javascript"> function onLogoff() { if (navigator.appName == 'Netscape') { // IE 11 var windowLaenge = (document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth); if (window.event.clientY <= "0"&& (window.event.clientX > (windowLaenge - 16) || window.event.clientX < 16)) { } alert("Netscape: X: " + window.event.clientX + " Y:" + window.event.clientY); } if (navigator.appName == "Microsoft Internet Explorer") { // IE 10 var windowLaenge = (document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth); if (window.event.clientY <= "0"&& (window.event.clientX > (windowLaenge - 16) || window.event.clientX < 16)) { } alert("Microsoft Internet Explorer: X: " + window.event.clientX + " Y:" + window.event.clientY); } } </script></head><body onbeforeunload="onLogoff()"><p>Close Window to show the alert with the position of the mouse</p></body></html>
I'm creating a program to access local files using the ajax method of JQuery.
This program is working correctly in IE11 and older version but failing in microsoft edge browser.
It is showing the 'Network error ' for the same and going to error section in Microsoft Edge.
Can someone let me know the workaround for the same.
Here is my code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="js/jquery-1.11.3.min.js"></script>
<script>
$("document").ready(function(){
BrandAllMenu();
});
function BrandAllMenu() {
var xmlPath = "branding.xml";
$.support.cors = true;
$.ajax({
type: "GET",
url: xmlPath,
async: false,
dataType: "xml",
success: function () {
alert("in");
},
error: function (jqXHR, textStatus, errorThrown) {
alert("jqXHR: " + jqXHR.status + " Response text : "+ jqXHR.responseText);
alert("Menu XML test status: " + textStatus);
alert("Menu XML: " + errorThrown)
}
});
}
</script>
</head>
<body>
</body>
</html>
Hello,
I'm using the re-designed IE.11 F12 Developers Tools.
In the past I have mostly used to tool to grab attribute details.
Such as 'id', text, href. All of which were lifted from the html and represented on the right hand window in an easy to read list of name & value.
In the recent release of the Developer Tools I can see DOM Explorer and in the right hand window Styles/Computed/Layout/Event/Changes. But I can't see any 'id' or text type attributes.
Where has MS hidden the attributes?
Thank You in advance for any answer or help!
I use the <asp:FileUpload ID="File" AllowMultiple="true" runat="server"/> in an aspx page.
It runs fine on IE11 (my development laptop). But when I go to put on the desktops all fixed with IE10 - then when I browse - I can only select one file at a time....
Can any one give me a clue as to what switch I need to work on to get this working. IE10 is not working in compatibility mode.
Please have a look on this issue, it comes on almost all version of IE.
http://jsfiddle.net/arunthakur14/qobvawr9/
Unable to upload the files on server by using AJAX on IE 11 on update version 11.0.21
This problem only occurs on that version on https only and for the rest it works fine. In this also it sometimes gets uploaded successfully.
Below is the client side code for uploading the image :
function Upload(fd, url, obj, mp) {
var xhr = new XMLHttpRequest();
var ul = {};
xhr.upload.addEventListener("loadstart", function () {
ul.percent = 0;
ul.progress = InitProgress(obj, mp);
}, false);
xhr.upload.addEventListener("progress", function (e) {
var percent = 0;
var position = e.loaded || e.position;
var total = e.total;
if (e.lengthComputable) {
percent = Math.floor(position / total * 100);
}
percent = percent > 100 ? 98 : percent;
ul.percent = percent > 10 ? percent - 5 : percent;
ul.progress.Set(ul.percent);
}, false);
xhr.upload.addEventListener("load", function (e) {
ul.percent = 95;
ul.progress.Set(ul.percent);
}, false);
xhr.onload = function () {
ul.percent = 100;
ul.progress.Set(ul.percent);
try {
var resp = this.response;
ul.response = JSON.parse(resp);
}
catch (e) {
ul.response = { status: -1, message: 'An error occurred while uploading file. Please contact Talisma administator. Error code: ' + this.status };
}
if (ul.response.status == -100) {
location.herf = "LogoutTalisma.aspx";
return;
}
ul.progress.Done(ul.response);
}
xhr.open("POST", url, true);
ul.xhr = xhr;
ul.send = function () {
xhr.send(fd);
};
return ul;
}
And this is the server side code for upload the image:
private void InterAttachmentUpload() {
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 1");
HttpFileCollection uploads = HttpContext.Current.Request.Files;
try
{
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload
2");
//FixMarch22(101-240)
long UploadLength = -1;
UploadLength = Convert.ToInt64(Application["maxAttachmentSize"]);
long ActualFileSize = 0;
for (int i = 0; i < uploads.Count; i++)
{
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE
entering InterAttachmentUpload 3:" + i.ToString());
HttpPostedFile upload = uploads[i];
if (upload.FileName == "")
continue;
#region Extn Check
string restrictedAttacmentTypes = "," + System.Web.HttpContext.Current.Application["RestrictedFileFormat"].ToString()+ ",";
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE
entering InterAttachmentUpload 4:" + i.ToString());
string extn = Path.GetExtension(uploads[i].FileName);
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE
entering InterAttachmentUpload 5:" + i.ToString());
if (!String.IsNullOrEmpty(extn))
{
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current,"NSE entering InterAttachmentUpload 6:" + i.ToString());
extn = "," + extn.Trim('.') + ",";
if (restrictedAttacmentTypes.Contains(extn))
{
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE,
System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 7:" + i.ToString());
error = Resources.WebClient.ErrorStrings.IDS_ATTACHMENTS_FILETYPENOTSUPPORTED;
status = -1;
return;
}
}
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE
entering InterAttachmentUpload 8:" + i.ToString());
#endregion
#region UploadLengthCheck
ActualFileSize += uploads[i].ContentLength;
if (UploadLength != -1) //Do a file size check only when UploadLength is specified.
{
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current,"NSE entering InterAttachmentUpload 9:" + i.ToString());
if (ActualFileSize > UploadLength * 1024)
{
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE,
System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 10:" + i.ToString());
string strErrorString = string.Format(Resources.WebClient.ErrorStrings.IDS_ATTACHMENTS_MAXSIZEERRROR,
UploadLength + " KB");
error = strErrorString;
status = -1;
return;
}
}
#endregion
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE
entering InterAttachmentUpload 11:" + i.ToString());
Guid fileId = Guid.NewGuid();
string fileName = upload.FileName.Substring(upload.FileName.LastIndexOf("\\") + 1);
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE
entering InterAttachmentUpload 12:" + i.ToString());
using (System.IO.BinaryWriter bw = new BinaryWriter(File.Open(Server.MapPath(@"../Attachments/" + HttpContext.Current.Session.SessionID+ "=" + fileId + "=" + fileName), FileMode.Create)))
{
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current,"NSE entering InterAttachmentUpload 13:" + i.ToString());
byte[] fileBytes = new byte[upload.InputStream.Length];
upload.InputStream.Read(fileBytes, 0, Convert.ToInt32(upload.InputStream.Length));
bw.Write(fileBytes);
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current,"NSE entering InterAttachmentUpload 14:" + i.ToString());
bw.Close();
}
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE
entering InterAttachmentUpload 15:" + i.ToString());
if (i==0)
str_InterError = "{ \"filenm\":\""+ fileName + "\",\"id\":\""+ fileId + "\",\"sid\":\"" + HttpContext.Current.Session.SessionID + "\",\"size\":\""+ ActualFileSize +"\" }";
else
str_InterError += ",{ \"filenm\":\"" + fileName + "\",\"id\":\""+ fileId + "\",\"sid\":\"" + HttpContext.Current.Session.SessionID + "\",\"size\":\"" + ActualFileSize + "\" }";
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE
entering InterAttachmentUpload 16:" + i.ToString());
}
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload
17:");
error = Resources.WebClient.ErrorStrings.IDS_ATTACHMENTS_SUCCESS;
status = 0;
}
catch (Exception ex)
{
error = Resources.WebClient.ErrorStrings.IDS_ATTACHMENTS_UNKNOWERRROR + ex.Message;
status = -1;
MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "WebClient IntxnAttachmentsUpload.
An exception occurred.\tMessage:{0}, \tStack Trace:{1}, \tError Type:{2}", ex.Message, ex.StackTrace, ex.GetType().ToString());
}
}
It gets stuck when the progress shows 95% and no response will come after that.
Please help us on this.