Click here to Skip to main content
15,892,927 members
Articles / Web Development / ASP.NET

Building an ASP.NET custom web control: a textbox and validator in one

Rate me:
Please Sign up or sign in to vote.
4.58/5 (30 votes)
12 Aug 20023 min read 292.8K   3.8K   59  
In this article we will have a look at implementing a custom web control. This web control will inherit from the TextBox web control, and will automatically add a required field validator at run-time.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United Kingdom United Kingdom
Wim is a senior web developer who works for Register.com Corporate Services Europe. Wim has got over 6 years of web development experience, mainly using the following technologies: HTML, JScript, DHTML, ASP, COM, XML, XSLT, WML, SQL Server, Oracle, Transact SQL and more. Since the late beta 1 of the .NET framework, he's been exposed to working with ASP.NET, VB.NET, C# and XML web services. He is also the founder of Wimdows.net, an ASP.NET community site.

Comments and Discussions