I need an HtmlTextWriter. Well actually I need a Wysiwig html text editor to display on my form. But first off I need this HtmlTextWriter. How do you get this? Anything I read about it seems quite complicated, is there an easier way?
A HtmlTextWriter is just a rendering context. To use on in your page, overload the pages Render function which takes in a HtmlTextWriter, i.e. to your code behind for the page
add in
Code:
protected override void Render(HtmlTextWriter writer)
{
writer.Write("This is some text");
}
but Im not sure if this is really what you are wanting to do?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.