Understanding Custom Server Controls in ASP.NET

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.

More Computers and The Internet and other resouces to help you locate great articles just like Understanding Custom Server Controls in ASP.NET :

Here are other categories to find more must know information on anything and everything.
Auto and Trucks
Business and Finance
Computers and Internet
Education
Environment
Family
Food and Drink
Gadgets and Gizmos
Gardening
Government
Health
Hobbies
Home Improvement
Kids and Teens
Legal Matters
Marketing
Music and Entertainment
Online Business
Parenting
Pets and Animals
Recreation and Sports
Self Improvemen
Site Promotion
Travel and Leisure
Web Development
Women
Writing
Here are more Computers and The Internet articles to give you more must know information just like in Understanding Custom Server Controls in ASP.NET article.

HOW TO PICK A TOPIC FOR YOUR E-MAIL WORKSHOP OR ECOURSE
The most frequently asked question I receive from people who
want to create and develop their own e-mail workshops, eCourses
or tutorials is how to pick the most suitable topic to develop.

Julie D. Raque is a business and personal coach who r...
Read more


Uncovering the Mystery of Spyware
There are intruders lurking in your house right now, tracking your every move, and stealing your personal information and invading your privacy. These intruders are able to consistently escape the eye of the law, they are a silent threat, and most surpris
Read more


The Online Advertising Scandal
The World Wide Web was an enormous step for mankind, a step not seen since Neil Armstrong sullied the surface of the moon. The idea behind the WWW came across as a veritable information highway where...
Read more


Help Keep The Computers On Earth Clean And Healthy: Protect Your Techno-Friends From Viruses And ‘Sickness’
Help keep the computers on Earth clean and healthy: Protect your techno-friends from viruses and ‘sickness’. “Aaaaaahhhhhh! I’ve been invaded by a virus!” Getting a virus means getting sick and no on...
Read more


E-mail - what's in a name?
Estimates of the number of people currently connected to the Internet vary, from 60
million to 100 million and upwards. If we accept the conservative figure of 60 million,
and surmise that each person sends and receives ONE email message every day, ...
Read more


 

Thank you very much for viewing this must know article: Understanding Custom Server Controls in ASP.NET . Hopefully you have found all the information you were looking for in " Understanding Custom Server Controls in ASP.NET ". If you feel like you need more information feel free to check out Info Pom HOMEPAGE to look for more articles in our humangous database

Site Partners:
Background Check