Library tutorials & articles
Inheriting An ASP.NET Server Control
- Introduction
- A Simple Example
- Using the Example
- A Few Problems
Introduction
After developing several ASP.NET WebForms applications, I have to say that ASP.NET is a great framework. Despite the fact that my knowledge about the ASP.NET architecture is near to nothing, I was still able to develop something useful (I hope!). For the most part, my ASP.NET applications are simple, ad-hoc front-ends to some back-end functionality (see http://www.nrsr.sk/bin/net/nrozprava/ as an example). I didn't need to use any sophisticated custom controls; just a UserControl here and there in order to encapsulate some repeating functionality within a single application.
Sometimes, however, I needed to extend a built-in WebControl by deriving from it. You also can use this approach when one of the ASP.NET-provided controls "almost" meets your needs, but lacks some required bit of functionality.
Related articles
Related discussion
-
Profile Class does not work after Translation
by converter2009 (1 replies)
-
what is the SQL Server Provider
by hayperaktib (1 replies)
-
Very Urgent regarding deleting the images from a folder
by Nanosteps (6 replies)
-
Java Script, File uploading on ftp server using java script code
by h_c_a_andersen (2 replies)
-
sharepoint calendar web part with events from sql table
by converter2009 (2 replies)
Related podcasts
-
StackOverflow uses ASP.NET MVC - Jeff Atwood and his technical team
Scott chats with Jeff Atwood of CodingHorror.com and most recently, StackOverflow.com. Jeff and Joel Spolsky and their technical team have created a new class of application using ASP.NET MVC. What works, what doesn't, and how did it all go down?
Events coming up
-
Mar
15
DevWeek 2010
London, United Kingdom
DevWeek is Europe’s leading independent conference for software developers, database professionals and IT architects, and features expert speakers on a wide range of topics, including .NET 4.0, Silverlight 3, WCF 4, Visual Studio 2010, REST, Windows Workflow 4, Thread Synchronization, ASP.NET 4.0, SQL Server 2008 R2, LINQ, Unit Testing, CLR & C# 4.0, .NET Patterns, WPF 4, F#, Windows Azure, ADO.NET, Entity Framework, Debugging, T-SQL Tips & Tricks, and more.
It is a very good article. I understood the web custom contol by this sample code.
Thanks
This thread is for discussions of Inheriting An ASP.NET Server Control.