Suppose I have a aspx page with UI and code behind.
I have code in event Page_Load like:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.Response.Write("Clean the page")
'.....
End Sub
but the page still render out with whole thing in aspx(all those markup).
What I want is the only display "Clean the page" in browser for user. How to do it?
Like this:
Response.Clear();
Response.ClearHeaders();
Probably you will want to combine it with a:
Response.End();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With