I have a pop-up window. On post-back the server code may decide to close the pop-up. I do this by registering startup JS code that just does a 'window.close()'.
This works, but a) a fair amount of unneeded html gets sent back to the browser, and b) the pop-up window flashes (showing the skeleton html) before it closes.
The best idea I have to minimize these effects is to try and strip the html from the page before it gets sent back to the client. Is there a relatively easy way to do this (perhaps in prerender event?) - I'd rather not get involved in writing an http module at the moment (whatever one of those is!). Thanks,
Paul.
This works, but a) a fair amount of unneeded html gets sent back to the browser, and b) the pop-up window flashes (showing the skeleton html) before it closes.
The best idea I have to minimize these effects is to try and strip the html from the page before it gets sent back to the client. Is there a relatively easy way to do this (perhaps in prerender event?) - I'd rather not get involved in writing an http module at the moment (whatever one of those is!). Thanks,
Paul.