Validation ASP.Net Tutorial

DisplayMode: how the error messages are formatted. 
             Possible values are BulletList, List, and SingleParagraph.
HeaderText:  display header text above the validation summary.
ShowMessageBox: display a popup alert box.
ShowSummary:    hide the validation summary in the page.
<%@ Page Language="C#" %>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


    Show Summary Popup


    
    

            id="ValidationSummary1"
        ShowMessageBox="true"
        ShowSummary="false"
        Runat="server" />
            id="lblFirstName"
        Text="First Name:"
        AssociatedControlID="txtFirstName"
        Runat="server" />
    
            id="txtFirstName"
        Runat="server" />
            id="reqFirstName"
        ErrorMessage="First Name is required"
        ControlToValidate="txtFirstName"
        Display="None"
        Runat="server" />
    
            id="lblLastName"
        Text="Last Name:"
        AssociatedControlID="txtLastName"
        Runat="server" />
    
            id="txtLastName"
        Runat="server" />
            id="reqLastName"
        ErrorMessage="Last Name is required"
        ControlToValidate="txtLastName"
        Display="None"
        Runat="server" />
    
            id="btnSubmit"
        Text="Submit"
        Runat="server" />