<%@ Page Language="VB" %> RequiredFieldValidator Runat="server" Text="Required!" ErrorMessage="Required!" ControlToValidate="TextBox1"> OnClick="Button1_Click" />