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

Get Applied ASP.NET 4 in Context now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.