Problem with using iFrame in asp.net
-
Hi, I am trying to display MS Word document in the webpage and I am using iframe to display. When I put document file (which is under the project folder), it shows in the page but if I include the file path, the document doesn't diplay in the frame. So I tested the same code in notepad, save as .htm format and then it works. I don't know what's the problem. Anyone have idea to solve this problem. My code is: <FRAME WIDTH="500px" HEIGHT="500px" NAME="fframe" SRC=""> <EMBED SRC="" width="500px" height="500px"></EMBED>
-
Hi, I am trying to display MS Word document in the webpage and I am using iframe to display. When I put document file (which is under the project folder), it shows in the page but if I include the file path, the document doesn't diplay in the frame. So I tested the same code in notepad, save as .htm format and then it works. I don't know what's the problem. Anyone have idea to solve this problem. My code is: <FRAME WIDTH="500px" HEIGHT="500px" NAME="fframe" SRC=""> <EMBED SRC="" width="500px" height="500px"></EMBED>
-
If your document is under the project folder(application folder), then specify the src attribute using relative url like src="/Project/testMailMerge.doc'