AspDotNetAtoms.com provides daily updates on ASP.NET Tutorials, Programming Resources, .NET Articles, Authors and more.

Categories

Recent Posts

Adding support for styles : Bipin Joshi

Wednesday, August 20 2008

In the previous lesson you learnt to develop a basic control. Your control inherited from the Control base class and emitted some HTML markup by overriding the Render() method of the base class. Though the control worked fine it lacked one important feature - support for formatting properties such as Font and ForeColor. Fortunately, the WebControl class from System.Web.UI.WebControls namespaces comes with inbuilt support for such properties. Instead of inheriting your control from the Control base class if you inherit from the WebControl control then your custom control can also avail these features. This lesson will teach you to do just that...

Read More:
Adding support for styles : Bipin Joshi
Also See:
ASP.NET Dynamic Data: Customizing the UI : Brad Abrams
Working with WebParts Page, WebPart Zones & WebParts : Muhammad Mosa
Seven New Control Gallery Entries : ASP.NET News
Tracking Your Website's Visitors and Statistic in ASP.NET : Richard Bean
The Weekly Source Code 30 - VB.NET with XML Literals as a View Engine for ASP.NET MVC : Scott Hanselman's Computer Zen - ASP.NET

Post your comment

Comment