The attached C# program can be used to generate the code for WebControls. This is mainly for users who don't have VS.Net. I have included for most basic controls easily customizable for adding more stuffs to it.