16A.1. REQUIREDFIELDVALIDATOR
The most commonly used validation control is the RequiredFieldValidator. This is the markup for a sample RequiredFieldValidator:
<asp:RequiredFieldValidator ID="RequiredFieldValidatorName" runat="server"
ControlToValidate="TextBoxName" ErrorMessage="(Required)"/>
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial