A comprehensive overview of Web control improvement techniques in asp.net 2.0 (i)
ASP.net 2.0 does not discard any existing controls in version 1.1, but adds a new set of controls, and introduces several new control development techniques. This series of articles will be fully explored in this context.
First, the introduction
So far, you've probably learned a lot about the ASP.net 2.0 new features-master pages, themes, providers, and so on ... All of this is quite exciting, but have you learned anything about the significant changes in custom Web control development? That's what I want to discuss in this article. If you are already engaged in control development, then I think the new features in ASP.net 2.0 described in this article will be applied immediately to your control development.
The first thing you should be aware of is that all Web controls you have previously developed with ASP.net 1.1 (or 1.0) will continue to operate well under version 2.0-Microsoft has not corrupted your existing code. In this article, I'll introduce you to all the relevant content, including many new exciting technologies, all of which you can add to existing controls or use in a new control environment.
Author Note: This article assumes that you have a basic understanding of custom Web control development. In this article, I take an enhanced version of the Emailcontact control as an example to make a comprehensive discussion of the Web control improvement techniques in asp.net 2.0.
Second, improve
Table 1 describes most of the significant improvements that ASP.net 2.0 has made in customizing Web control development. In this series of articles, I'll take a discussion of these features.
Table 1:asp.net 2.0 Web Control Enhancements
Iii. Enhanced Emailcontact Web controls
The custom Emailcontact Web controls in this article (refer to Figure 1) allow you to add a "contact us" form to your site that has full e-mail capabilities. In this article, I will use this feature to enhance this control.
Figure 1: The Emailcontact control in the default state