Click here to Skip to main content
15,914,481 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Preven user to access previous page Pin
badgrs22-Feb-07 1:28
badgrs22-Feb-07 1:28 
AnswerRe: Preven user to access previous page Pin
Michael Sync22-Feb-07 17:01
Michael Sync22-Feb-07 17:01 
QuestionCan't configure AccessDataSource Pin
sujithkumarsl22-Feb-07 0:02
sujithkumarsl22-Feb-07 0:02 
QuestionOpen a server side document using a client's program Pin
markymark8221-Feb-07 23:49
markymark8221-Feb-07 23:49 
AnswerRe: Open a server side document using a client's program Pin
Paddy Boyd22-Feb-07 0:55
Paddy Boyd22-Feb-07 0:55 
GeneralRe: Open a server side document using a client's program Pin
markymark8222-Feb-07 1:17
markymark8222-Feb-07 1:17 
GeneralRe: Open a server side document using a client's program Pin
Paddy Boyd22-Feb-07 1:21
Paddy Boyd22-Feb-07 1:21 
GeneralRe: Open a server side document using a client's program Pin
markymark8222-Feb-07 1:34
markymark8222-Feb-07 1:34 
Ok, I am redirecting to the new page having set the full filename (inc. path) as session.

ie.

String FullPath = "the path of my file on the server (not on the client machine)";

Session["FullFilePath"] = FullPath
Response.Redirect("OpenFile.aspx");

I am then in page load event of 'OpenFile.aspx' running:

Response.AppendHeader("content-disposition", "attachment;filename="+Sesion["FullFilePath"]);

However, it is just asking me to confirm that I want to open 'OpenFile.aspx', what am I missing?

I can at least see that this should work though so I am extremely grateful


Mark
GeneralRe: Open a server side document using a client's program Pin
Paddy Boyd22-Feb-07 1:35
Paddy Boyd22-Feb-07 1:35 
GeneralRe: Open a server side document using a client's program Pin
markymark8222-Feb-07 1:37
markymark8222-Feb-07 1:37 
AnswerRe: Open a server side document using a client's program Pin
badgrs22-Feb-07 1:45
badgrs22-Feb-07 1:45 
AnswerRe: Open a server side document using a client's program Pin
Paddy Boyd22-Feb-07 1:41
Paddy Boyd22-Feb-07 1:41 
GeneralRe: Open a server side document using a client's program Pin
markymark8222-Feb-07 3:32
markymark8222-Feb-07 3:32 
GeneralRe: Open a server side document using a client's program Pin
Paddy Boyd22-Feb-07 3:35
Paddy Boyd22-Feb-07 3:35 
GeneralRe: Open a server side document using a client's program Pin
markymark8222-Feb-07 3:39
markymark8222-Feb-07 3:39 
GeneralRe: Open a server side document using a client's program Pin
markymark8222-Feb-07 4:20
markymark8222-Feb-07 4:20 
QuestionDisable all textboxes in a page. Pin
MY120121-Feb-07 23:39
MY120121-Feb-07 23:39 
AnswerRe: Disable all textboxes in a page. Pin
Michael Sync21-Feb-07 23:48
Michael Sync21-Feb-07 23:48 
AnswerRe: Disable all textboxes in a page. Pin
Harini N K22-Feb-07 0:00
Harini N K22-Feb-07 0:00 
AnswerRe: Disable all textboxes in a page. Pin
anufabian22-Feb-07 1:09
anufabian22-Feb-07 1:09 
GeneralRe: Disable all textboxes in a page. Pin
Sandeep Akhare22-Feb-07 1:18
Sandeep Akhare22-Feb-07 1:18 
AnswerRe: Disable all textboxes in a page. Pin
badgrs22-Feb-07 1:24
badgrs22-Feb-07 1:24 
GeneralRe: Disable all textboxes in a page. Pin
badgrs22-Feb-07 1:43
badgrs22-Feb-07 1:43 
QuestionHow to create a link to my table content Pin
jeya krishnan.v21-Feb-07 23:26
jeya krishnan.v21-Feb-07 23:26 
AnswerRe: How to create a link to my table content Pin
Tuwing.Sabado21-Feb-07 23:36
Tuwing.Sabado21-Feb-07 23:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.