O'Reilly logo

Beginning ASP.NET for Visual Studio 2015 by William Penberthy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required