HtmlTextWriter Snippets

24 April 2009
Downloads: 635
Microsoft Public License (Ms-PL)

Download All (3 Kb)



Overview

Visual Studio code snippets for fast usage of HtmlTextWriter
I have published here some of my Visual Studio code snippets for fast usage of HtmlTextWriter.
I found them very useful when implementing custom ASP.NET controls.
  • Render Html Tag wrt
  • Add Html Attribute wra
  • Add Html Style wrs

Please, check out the small animated sample bellow.

Sample

Requirements

You can use the snippets in:
  • Visual Studio 2005;
  • Visual Studio 2008;
  • Visual Studio 2010;

Instructions

  1. Download snippets on this page.
  2. Copy the snippets to the Visual Studio Code Snippets directory. Locations of the directory for the different versions of Visual Studio are:
    1. Visual Studio 2005 - %My Documents%\Visual Studio 2005\Code Snippets\Visual C#\MySnippets
    2. Visual Studio 2008 - %My Documents%\Visual Studio 2008\Code Snippets\Visual C#\MySnippets
    3. Visual Studio 2010 - %My Documents%\Visual Studio 2010\Code Snippets\Visual C#\MySnippets

Additional Information

These code snippets are for C# language only.

Contact

Bookmark this page

Bookmark and Share

My Bookmarks



»Recent Articles

Disclaimer

The words and opinions expressed here are my own, and do not, in any way, represent the views of my employer.
[ Log On ]