User Manual
Server Controls
Validation Controls
Validation controls are associated with their
target control using the ControlToValidate
property
Can create multiple validation controls with the
same target control
<asp:TextBox id=TextBox1 runat=server />
<asp:RequiredFieldValidator id="Req1"
ControlToValidate="TextBox1"
Text="Required Field" runat=server />