.NET control - August 25, 2008 at 18:00 PM by Amit Satpute
Define base class control.
The Control class is the base class for many of the controls that are
added to an application. The Control class defines very little behavior but it
is far more common to add a control that inherits from Control like Button,
What is inherited control?
A new control can be created by inheriting from an existing control.
This way, the new control contains all the functionality of the base control
and can serve its own functionality as well. This is also in regards to the
visual appearance of the base control.
Define UserControl class.
User Controls are created by the user and are based on the class
UserControl (System.Windows.Forms.UserControl). User controls too have
properties, methods and events.
One of the important goals of ASP.NET 2.0 is 70% code reduction. The data
controls supplied with ASP.NET 2.0 play an important role in making this
ambitious goal a reality. Data source controls provide a consistent and
extensible method for declaratively accessing data from web pages..............
With ASP.NET 2.0, things have changed for the better. For security-related
functionalities, ASP.NET 2.0 introduces a wide range of new
In addition to the new controls, ASP.NET 2.0 also provides numerous enhancements
to existing controls that make these controls more versatile than ever before
in building component-based web pages. For example, the Panel control now has a
DefaultButton property that specifies which button should be clicked if the
user presses the Enter key while the panel has the focus.........
This articles explains difference between Server Control and HTML control in