Library tutorials & articles

ASP.NET Controls Explained: Part 1/2

Introduction

One of the best things about ASP.NET is the ability to easily separate code into different modules, unravelling presentation code from application logic. This allows developers with different skills sets to work on their area of speciality simultaneously (e.g. web designers working on HTML code while programmers work on ASP.NET code). Because of its object-orientated nature, ASP.NET also promotes code reuse.

In ASP.NET, there are several features that we can use to make our code reusable and independent of other code. These features are: user controls, server controls, HTML controls, custom controls, components, and the code behind method.

In this article, I will explain what each of these features are used for, and also show you how to use each one, by providing a number of simple yet detailed examples. To work with the examples in this article, you should have the .NET SDK installed on your Windows 98, NT, 2000, or XP machine. It can be downloaded free from MSDN.

Comments

  1. 04 Apr 2002 at 21:35
    It guides you step by step and helps you get a beeter idea about how user controls work.
  2. 01 Jan 1999 at 00:00

    This thread is for discussions of ASP.NET Controls Explained: Part 1/2.

Leave a comment

Sign in or Join us (it's free).

James Yang James is a student at Georgia Institute of Technology, majoring in Computer Science. He is an MCSE, MCDBA, MCSA and CCNA.
AddThis

Related podcasts

Events coming up

  • Jul 7

    DTC 70-528 Session 7: Chapter 12

    Greenwood Village, United States

    Due to lack of interest of the 5th Monday meetup, we will continue as originally scheduled. The topic of the night will be "Chapter 12 - Creating ASP.NET Mobile Web Applications", taught by RJ Hatch. It is a fairly small chapter, so we can discuss other topics as well. Pizza and beverages will be provided on a donation basis.

Want to stay in touch with what's going on? Follow us on twitter!