I have a page which needs to terminate execution of it's code (which is run at render) but not stop the execution of the MasterPage.
The problem is this, page 'Default.aspx' uses the masterpage 'MasterPage1.aspx'. The code in Default.aspx checks a certain condition and if found to be true, Default.aspx needs to stop executing, but render the rest of the MasterPage.
I found that if I call response.end() in default.aspx, the rendering of the MasterPage is also terminated.
So what I am looking for is an alternative which stops execution in default.aspx, but still renders the rest of the MasterPage.
Thanks :)