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:
Integrate Membership, Roles and Profile providers into your ASP.NET 2.0 Site : Peter Bromberg
Tracking Your Website's Visitors and Statistic in ASP.NET : Richard Bean
Seven New Control Gallery Entries : ASP.NET News
ASP.NET Internals IIS and the Process Model : Simone Busoli
Formatting the DataList and Repeater Based Upon Data : Scott Mitchell

Post your comment

Comment