ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - Captcha - With ValidationSummary

 
Validation Summary

Registration Form

*
*
Generate a new image
*




The sourse code of this example you can find in the downloaded Suite. See the file Captcha/cs_ValidationSummary.aspx or Captcha/vb_ValidationSummary.aspx.
ASP.NET
<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.Captcha" TagPrefix="obout" %>
<fieldset style="width: 450px; height: 100px; margin-bottom: 10px;">
   <legend>Validation Summary</legend>
   <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="SubmitInfo" />
</fieldset>
<b>Registration Form</b><br /><br />
<table>
   ...
   <tr><td><obout:CaptchaImage ID="Captcha1" runat="server" /></td>
   <td><a href="javascript: $find('<%= Captcha1.ClientID %>').getNewImage();">Generate a new image</a></td></tr>
   <tr><td><obout:OboutTextBox runat="server" ID="CaptchaIn" Width="200"
                      WatermarkText="Type the code from the image" /> *</td>
   <td><obout:CaptchaValidator runat="server" ValidationGroup="SubmitInfo" ControlToValidate="CaptchaIn"
                      CaptchaImageID="Captcha1" ErrorMessage="The code you entered is not valid." Display="Dynamic">
   </obout:CaptchaValidator></td>
   </tr>
</table>

"I love new functions you guys are adding. Thanks for a great product!"

Adam Walankiewicz
Aerodirect Inc.

Random testimonial   All testimonials