Chapter 5ASP.NET Web Form Server Controls

What you will learn in this chapter:

  • Fundamentals of ASP.NET Web Form Server controls and how you can use them in an application
  • The different kinds of available server controls
  • How the server controls work
  • How to configure the controls

Code Downloads for this Chapter:

The wrox.com code downloads for this chapter are found at www.wrox.com/go/beginningaspnetforvisualstudio on the Download Code tab. The code is in the chapter 05 download and individually named according to the names throughout the chapter.

Earlier chapters listed the advantages of using the ASP.NET Web Form approach for building a web application. One of these advantages is the number of built-in controls available out of the box, as well as the large number of third-party controls that are available. These controls are all server controls, and in this chapter you will see how advantageous it is to have these kinds of server controls available to help support your development efforts. By the end of the chapter, you will be able to compare this approach with the approach taken in ASP.NET MVC in order to better understand which approach would best support your future projects.

Introduction to Server Controls

Server controls are add-ins to the markup section of your application, the area where you add the HTML. The ASP.NET server control is an element that is added to an .aspx file and exposes properties, methods and events that can be accessed by the code-behind file ...

Get Beginning ASP.NET for Visual Studio 2015 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.