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" />

"Thanks much. The trees seem to be working exactly as we want and we do appreciate the timely resolution. As our project moves further along the design process, we find ourselves utilizing Obout controls more and more and it's comforting to know that your support system is so responsive."

Kevin Holder
Tennessee Department of Human Services

Random testimonial   All testimonials