Disable Prompt on File download

Saturday, April 18, 2009

Response.AddHeader("content-disposition", "inline; filename=AppraisalView.txt")
Response.ContentType = "text/plain"
Response.WriteFile("C:\Inetpub\wwwroot\TestApp\AppraisalView.txt")
Response.Flush()
Response.End()

0 comments

Post a Comment

LinkWithin

Blog Widget by LinkWithin

Recommended Books