Hi Everyone,
I open Excel sheet, in that coding i put Response.End() at last of the coding. After or before I display Message but it's not shown...How to display that message...Just tell the solution...
Eg:
Excel Coding
-----
-----
---
.
.
.
.
.
Response.End();
Label1.Text="Success";
Excel sheet open but that message only not shown....
Thanks In Advanced
Loading
Jignesh TrivediPosted May 22, 2012, 8:38 AM
It is quite difficulate to Print message before response.End()
I think this can be achive by JS.
try...
StringBuilder cstext2 = new StringBuilder();
cstext2.Append("");
Response.Write(cstext2.ToString());
thx..
Lawrence rajaPosted May 22, 2012, 6:49 AM
Jignesh TrivediPosted May 22, 2012, 6:37 AM
The End method stops processing a script, and returns the current result.
so change sequence and try..
Label1.Text="Success";
Response.End();
hope this help.