ASP.Net Error: Response is not available in this context

ASP Net Error: Response is not available in this context

When using the response object from an aspx page, its codebehind class or a
user control, the response object is directly available because all these
derive from the page object more or less distant.

When using the response object in your own class, the object is not readily
available, but you can still access it:

HttpContext.Current.Response.Write(“Hello World”);

~ yazan: ismailtutumluer Ocak 16, 2007.

2 Yanıt to “ASP.Net Error: Response is not available in this context”

  1. Thanks. It worked absolutely fine. YD.

  2. yiaktzewwxfrjtovwell, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch ;)

Yorum Yapın