From an earlier era of this site. Left here for the record.
Response.Write from within a class
In developing websites in ASP.Net I frequently use Response.Write to debug the code behind, but when using classes you cannot directly access Response.Write.
The method of performing Respone.Write from within a class is to do the following;
HttpContext.Current.Response.Write("Your text")
This site uses a single essential cookie to remember your preference. Analytics are optional and only load if you accept. See the privacy policy for details.