O'Reilly logo

Applied ASP.NET 4 in Context by Adam Freeman

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

Building the Events Page

Now that we have the master page in place, we can start to fill out the individual pages that make up the backbone of the application, starting with Event.aspx. This page displays a list of the events that are in the database, along with ranking information. The events can be filtered based on the event type. There is a button to click for adding a new event, and each individual event has buttons to edit or delete the record. Listing 21-10 shows the markup I added for this page to get started. It's just some basic CSS.

Listing 21-10. The Events.aspx markup

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Events.aspx.cs" Inherits="TriathlonApp.Events" %> <asp:Content ID="Content1" ...

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