Creating Controls Custom Controls A class that you create Derived from System.Web.UI.Control http://msdn.microsoft.com/en-us/library/zt27tfhy.aspx using System; using System.Web; using System.Web.UI; public class MyControl : Control { protected override void Render(HTMLTextWriter w) { w.Write( Control output ); }
{}