I am writing a string as
Response.Write( "Hello world");
on Page_UnLoad() event.
I am using ASP.NET with C#.
When I execute this error and run the application I found this error that Response is not available in this context.
I tried to write this as HttpContext.Cur rent.Response.W rite("Hello World") but again it gives save error?
Don't we get the Response object on page unload.
Response.Write( "Hello world");
on Page_UnLoad() event.
I am using ASP.NET with C#.
When I execute this error and run the application I found this error that Response is not available in this context.
I tried to write this as HttpContext.Cur rent.Response.W rite("Hello World") but again it gives save error?
Don't we get the Response object on page unload.
Comment