Ending Execution without Response.end

  • Thread starter Thread starter Nick Chan
  • Start date Start date
N

Nick Chan

Hi, i have a function in CBasePage called AjaxShowMessageBox(message)
that displays javascript alert using
ScriptManager.RegisterStartupScript

And I have this file, TEST.ASPX page which inherits CBagePage

in CBasePage, how do I stop/cancel execution of TEST.ASPX ? But I
still want to execute AjaxShowMessageBox function.
 
so you want the browser to show an empty page with an alert.

just do a loop thru Page.Controls, and set them all to Visible=false.

-- bruce (sqlwork.com)
 
Back
Top