|
|
|
|
Home / Technology
Understanding Custom Server Controls in ASP.NET
By:Balaji
Understanding Custom Server Controls in ASP.NET
ASP.NET offers many server controls for the developers to create web applications. However, at some point of development time when the developer does not get the control they want, they can create a new server control. This new server control can be called ASP.NET Custom Server Controls or user control. The basic difference between a ASP.NET Custom Server Controls and a user control is that unlike a user control that does not appear in the Toolbox, you can view a ASP.NET Custom Server Controls in the Toolbox. ASP.NET Custom Server Controls have their own events such as Enter, Onclick, and Onmouseover.
ASP.NET Custom Server Controls are very handy tool to use in your web forms. User controls prove inefficient in advanced scenarios. ASP.NET Custom Server Controls are the compiled code that makes them user friendly. You should write the ASP.NET Custom Server Controls in code, thereby view it in the visual designer with full properties and design-time features. You can create a ASP.NET Custom Server Controls by inheriting one of the base control classes. These classes have all the functionality that is needed for a server control. Therefore, you just have to modify some of the programming aspects to suit your requirements.
Just as you have created a ASP.NET Custom Server Controls you can customize it too to create a unique identity. You can even consume a single ASP.NET Custom Server Controls for multiple web forms. For ASP.NET Custom Server Controls only one copy of the control is needed in the Global Assembly Cache (GAC). Moreover, ASP.NET Custom Server Controls are very helpful if you want a dynamic layout for your web application.
To access online version of the above article, go to http://www.dotnet-guide.com/customcontrols.html
About the Author
Visit http://www.dotnet-guide.com for a complete introduction to .NET framework. Learn about ASP.NET, VB.NET, C# and other related technologies.
Article Source: http://www.dailynewarticles.com
More Articles from Technology Category:
A Review of Conveyor Systems
Solar Cells: Generating Power Out Of Sunlight
Types of Generators
Fuel Cells: Where Can Hydrogen Be Found
Windmills: The Hands of God
What Is A Metal Detector
What Are The Type Of Excavators Loaders
Why You Should Buy a Kenwood VRS6100 Home Theater System
Integration Of Latest Car Alarm System
All You Need To Know About Fire Alarm Systems
Fire Alarm Systems You Need To Know
Information Of Home Security Alarm Systems
Great Reasons To Use A Commercial Trash Compactor
What You Should Check Before Buying Wireless Equipment
How To Easily Duplicate Your Own DVDs At Home
|
|