|
-
Mar 6th, 2009, 10:47 AM
#1
Thread Starter
Hyperactive Member
Open MS Word doc inside IE without poping up Open/Save dialogue
Hello,
I need to open a word document in New(_Blank) IE window on click of asp:hyperlink in my page.
For that I have used javascript to open up the word document in new IE window. But for opening MS Word doc, it is always poping up Open/Save dialogue. I want to directly open the word document inside IE window without asking Open/Save dialogue.
I have to open MS word in New IE window itself.
javascript code
function openMoreDetails(urlpath)
{
window.open(urlpath,'_blank','height=466,width=500,top=20,left=20,status=yes,toolbar=no,menubar=no,l ocation=no,scrollbars=yes,resizable=yes');
}
Aspx.cs page code
lnkMoreDetails.Attributes.Add("onclick", "openMoreDetails('" + FullURLPath + "')");
thankzzzzzzzz
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|