advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   TIP BANK
Browse DevX
Partners & Affiliates
advertisement
advertisement
advertisement
advertisement
CoDe Magazine
Subscribe to CoDe Magazine
 

Web Control Enhancements in ASP.NET 2.0

ASP.NET 2.0 does not break any existing controls from 1.1, but it adds a whole bunch of new ones, as well as several new technologies for control development. 


advertisement
'm sure by now you've read more than your share of books and articles describing new ASP.NET 2.0 features. Master pages, themes, providers, etc., are all great, but have you read anything regarding what's changed with custom Web control development? Well that's what I'm here to tell you. If you've become involved in control development, either through my articles or on your own, I'll describe some very cool enhancements that you can put to work right away in your controls using ASP.NET 2.0.

Ok, so before you misinterpret the title of this article or make any false assumptions about code compatibility, let me start by telling you that all of the Web controls you developed in ASP.NET 1.1 (or 1.0) will work just fine in 2.0. Feel better? Good. Microsoft has not changed anything that will break your existing code. Everything that I will teach you here involves new and exciting technologies that you can add to existing controls or use with new ones.

Author's Note: This article assumes a basic knowledge of custom Web control development as explained in my two-part article series, "Custom Web Controls Demystified" published in the Sept/Oct 2005 and Nov/Dec 2005 issues of CoDe Magazine. In this article, I'll enhance the EmailContact control described in the second part of that article. If you have not read the previous articles, I strongly recommend that you do so in order to familiarize yourself with this control. If you're a seasoned Web control developer, you should have no trouble following along.

New Enhancements
Table 1 describes several of the most important enhancements for custom Web control development. These are the ones I will cover in this article, but if you choose to research this topic further, you'll find that there are several other changes and enhancements in the Web control arena, including Control Adapters, several base classes, region editing, and others. Perhaps I will make some of them the topics of future articles.

Table 1: ASP.NET 2.0 Web control enhancements.

Enhancement


It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com.
Already a member?



© Copyright Component Developer Magazine and EPS Software Corp., 2009
advertisement