Click here to Skip to main content
15,794,275 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
iframe is openning twice in IE11.It opens a MS word prot tp open, save and Save As document.

The code is embedded in aspx.cs page. Here is the code snippet:

aspx.cs code

string buildurl = "some url";
ifrmOpen.Attributes.Add('src', buildurl);

aspx code
<iframe id="ifrmOpen"  runat="server" width="100%" height="100%" frameborder="0" style='display: none;' scrolling="auto"></iframe>

Thanks in advance.
Updated 8-Nov-15 20:06pm
Gyaneswar kumar 9-Nov-15 0:45am    
Is it working fine in google chrome?If yes then please try in another version of IE and let me know.
Suvendu Shekhar Giri 9-Nov-15 1:24am    
There is no such know issue with IE11. I suspect your src is referencing to the same as you have put the iframe.

Can you share the src which causing the issue.
The first step to identify the actual issue is definitely viewing the same page with same src url for iframe in another browser.
sucharita dutta 9-Nov-15 20:26pm    
IE open-save pop up is opening twice. I have provided the src code above.The url what I was using inside iframe is a .doc file location.
ZurdoDev 9-Nov-15 8:04am    
What do you mean the iframe opens twice? An iframe doesn't open at all, it's a frame on your page.
sucharita dutta 9-Nov-15 20:24pm    
IE open-save pop up is opening twice. The above code has been used to open the pop up.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900