Project DescriptionA small .NET 2.0 Windows application based on the HtmlTextWriterUtility by kind permission of the original author.
SharePoint web part developers might love this utility.
This is a development of
http://www.codeplex.com/HtmlTextWriterUtil and has been developed by the gracious permission of JonasButt
http://www.codeplex.com/site/users/view/JonasButt.
Features
- Converts HTML, CSS, JavaScript and other types of web content to C# or VB.NET code, mainly for use in the Render method of web parts;
- Set the name of the HtmlTextWriter instance;
- Choose between HtmlTextWriter only code and StringBuilder code;
- Copy result to clipboard;
Example
<div class="myCssClass">Hello World!</div>
converts to
writer.Write("<div class=\"myCssClass\">Hello World!</div>");