K
Kaan Acar
Hi ,
i am using vbscript to open word document in my web page.(web page
is written in c# )
The code snippet in below. This code is doing what i want.
however when i try
to go back opener page with internet explorer "Back" button this
function is working again and word document is opening so i could
not open my page again.Is there any solution to unregister or block
this script...
string redirect = "c:/NewFolder/xxx.doc";
script = "<SCRIPT language='vbScript'>"
+ " window.location=\"" + redirect + "\""
+ " '</SCRIPT>";
Page.RegisterStartupScript("__JS_OPENFILE",script);
thanks..
i am using vbscript to open word document in my web page.(web page
is written in c# )
The code snippet in below. This code is doing what i want.
however when i try
to go back opener page with internet explorer "Back" button this
function is working again and word document is opening so i could
not open my page again.Is there any solution to unregister or block
this script...
string redirect = "c:/NewFolder/xxx.doc";
script = "<SCRIPT language='vbScript'>"
+ " window.location=\"" + redirect + "\""
+ " '</SCRIPT>";
Page.RegisterStartupScript("__JS_OPENFILE",script);
thanks..