Why save dialog displaying twise
From: Vijay Neelam (vijay_neelam_at_hotmail.com)
Date: 10/30/03
- Next message: charlie: "Web Services, Remoting, Network Security headache"
- Previous message: Tom Pester: "Re: Thread Unable to Impersonate (Workaround)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 30 Oct 2003 13:08:15 +0530
Hi all,
Dim a As String = Response.ContentType
Response.Clear()
Response.Buffer = True
Response.ContentType = "application/msword"
Response.AddHeader("content-disposition", "attachment;
filename=Document.doc")
Response.Write(strDoc)
Response.ContentType = a
Response.End()
I'm writing this code in ASP.NET I'm getting download dialog box but I'm
getting twise if I clicked on open.
My purpose is I want to download a worddocument from server and also need to
write some string in that document.
Open is only opening MSWord window but not opening document.
Does any one know solution to this problem.. please post
Thank you,
Vijay Neelam
- Next message: charlie: "Web Services, Remoting, Network Security headache"
- Previous message: Tom Pester: "Re: Thread Unable to Impersonate (Workaround)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|