ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - Captcha - First Look

 
Generate a new image



 
Text Settings:
Text Length:
Font Family:
Foreground Color:
Background Color:
Brush Filler Color:
Text Brush:
Background Brush:
Image Noise:
Line Noise Level:
Background Noise Level:
Font Warp Level:
Image Border:
Width:
Color:

The sourse code of this example you can find in the downloaded Suite. See the file Captcha/cs_FirstLook.aspx or Captcha/vb_FirstLook.aspx.
ASP.NET
<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.Captcha" TagPrefix="obout" %>
<a href="javascript: $find('<%= Captcha1.ClientID %>').getNewImage();">Generate a new image</a><br />
<obout:CaptchaImage ID="Captcha1" runat="server" RelativeImageUrl="false" /><br /><
<obout:OboutTextBox runat="server" ID="CaptchaIn" Width="200" WatermarkText="Type the code from the image"
       FolderStyle="../interface/styles/black_glass/OboutTextBox" /><br />
<obout:CaptchaValidator runat="server" ValidationGroup="SubmitInfo" ControlToValidate="CaptchaIn"
       CaptchaImageID="Captcha1" ErrorMessage="The code you entered is not valid." Display="Static">
</obout:CaptchaValidator>
<asp:Button runat="server" Text="Test the entered text" ValidationGroup="SubmitInfo" OnClick="Submit1_click" />

"Thank you very much for your support. It is actually quite nice to receive lightning fast responses especially when one is on the other side of the world."

Clinton Morrison

Random testimonial   All testimonials