A
A.M-SG
Hi,
Within my code behind's Page_Load event, I need to prevent the aspx contents
be rendered.
I tried to use Response.End() , but ASP.NET gives me
"System.Threading.ThreadAbortException" exception. I also tried
Response.OutputStream.Flush();
Response.OutputStream.Close();
Or
Response.Flush();
Response.Close();
They do not stop ASP.NET to render the rest of contents.
How can I stop ASP.NET to rendering the rest of contents?
Thank you,
Alan
Within my code behind's Page_Load event, I need to prevent the aspx contents
be rendered.
I tried to use Response.End() , but ASP.NET gives me
"System.Threading.ThreadAbortException" exception. I also tried
Response.OutputStream.Flush();
Response.OutputStream.Close();
Or
Response.Flush();
Response.Close();
They do not stop ASP.NET to render the rest of contents.
How can I stop ASP.NET to rendering the rest of contents?
Thank you,
Alan