Hi guys,
I am trying to use the ValidatorCalloutExtender control in my asp.net page. Apparently, it works fine, however during validation I can also see the requiredfield validator message coming up. This in essence is showing the extender message (as needed) and the requiredfield validator message (not needed). I am using the following code.
<tr>
<td align=left>Username: </td>
<td align=left>
<asp:TextBox runat=server ID="txtUserName"></asp:TextBox>
<asp:RequiredFieldValidator runat=server ID="Req1" ControlToValidate="txtUserName" ErrorMessage="Username required."></asp:RequiredFieldValidator>
</td>
</tr>
<cc2:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="Req1" >
</cc2:ValidatorCalloutExtender>
Please let me know if I am missing out anything.
Thanks!
I am trying to use the ValidatorCalloutExtender control in my asp.net page. Apparently, it works fine, however during validation I can also see the requiredfield validator message coming up. This in essence is showing the extender message (as needed) and the requiredfield validator message (not needed). I am using the following code.
<tr>
<td align=left>Username: </td>
<td align=left>
<asp:TextBox runat=server ID="txtUserName"></asp:TextBox>
<asp:RequiredFieldValidator runat=server ID="Req1" ControlToValidate="txtUserName" ErrorMessage="Username required."></asp:RequiredFieldValidator>
</td>
</tr>
<cc2:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="Req1" >
</cc2:ValidatorCalloutExtender>
Please let me know if I am missing out anything.
Thanks!