Book
Please pick a book
A
B
C
runat="server"
ControlToValidate="lstBooks"
SetFocusOnError="true"
Text="*"
InitialValue="0"
Display="static"
ErrorMessage="Please choose a book from list"/>
User Name:
runat="server"
ControlToValidate="txtUserName"
SetFocusOnError="true"
Text="*"
Display="static"
ErrorMessage="Please enter a User Name"/>
Password:
runat="server"
ControlToValidate="txtPassword"
SetFocusOnError="true"
Text="*"
Display="static"
ErrorMessage="Please enter a password"/>
runat="server"
DisplayMode="BulletList"
HeaderText="The following errors were found:"
ShowMessageBox="false"
ShowSummary="true" />