New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Properties

RadCaptcha properties

PropertyDescription
Common
ErrorMessageThe error message text generated when the condition being validated fails.
ProtectionModeGets or sets which strategies are/to be used for Spam Protection. The available modes are: Captcha, InvisibleTextBox, * MinimumTimeout
CaptchaMaxTimeoutGets or sets the maximum number of minutes CAPTCHA will be cached and valid.
CaptchaTextBoxLabelGets or sets the label which explains that the user needs to input the CAPTCHA text box.
ForeColorGets or sets the fore color of the error message.
DisplayGets or sets display behavior of error message. The available modes are: None (Validator content never displayed inline), Static (Validator content physically part of the page layout), Dynamic (Validator content dynamically added to the page when validation fails)
ValidatedTextBoxIDGets or sets the ID of the textbox to be validated, when only the RadCaptcha image is rendered on the page. (To render only the CaptchaImage and use Custom TextBox for user input, the CaptchaImage-RenderImageOnly property has to be set to true.)
ValidatedTextBoxRead-only. Gets the TextBox that is being validated by the RadCaptcha
IgnoreCaseGets or sets a bool value indicating whether the RadCaptcha should ignore the case of the letters or not. By default it is false – the RadCaptcha does not make a difference between upper and lower case letters.
EnableRefreshImageGets or sets a bool value indicating whether or not the RadCaptchaImage can be refreshed. When set to true a LinkButton is rendered on the page that, when clicked, generates new image. The 'rcRefreshImage' CSS class is used for applying custom skinning to the LinkButton.
CaptchaLinkButtonTextGets or sets the text of the LinkButton that generates a new CaptchaImage.
<CaptchaImage> Specific
AudioFilesPathGets or sets the path to the directory where the audio (.wav) files are located. The default path is ~/App_Data/RadCaptcha where tilde (~) represents the root of the web application.
EnableAudioNoiseGets or sets a boolean value indicating whether a noise should be added to the CaptchaAudio. The property EnableCaptchaAudio needs to be set to true in order for this to work.
EnableCaptchaAudioGets or sets the bool value indicating whether the CaptchaAudio will be enabled. When set to true a LinkButton is rendered that, when clicked, retrieves the audio code. Use the '.rcCaptchaAudioLink' selector to apply custom skinning to the LinkButton.
UseAudioFilesGets or sets a bool value indicating whether the audio code will be generated by concatenation of the audio files from a given folder.
FontWarpAmount of random font warping to apply to rendered text: None, Low, Medium, High, Extreme
BackgroundNoiseAmount of background noise to add to rendered image
LineNoiseAmount of curved line noise to add to rendered image
FontFamilySets the font used in the CAPTCHA image. This is the default list of fonts if none is provided: Arial, Arial Black, Comic Sans MS, Courier New, Estrangelo Edessa, Franklin Gothic Medium, Georgia, Lucida Console, Lucida Sans Unicode, Mangal, Microsoft Sans Serif, Palatino Linotype, Sylfaen, Tahoma, Times New Roman, Trebuchet MS, Verdana
UseRandomFontGets or sets a bool value indicating whether a random font will be used to generate the CaptchaImage text. The font is selected randomly from the FontWhiteList .
TextCharsSets the characters used in the CAPTCHA image: LettersAndNumbers, Letters, Numbers, CustomCharSet
TextColorGets or sets the color of the CAPTCHA's text (System.Drawing.Color)
BackgroundColorGets or sets the background color of the CaptchaImage (System.Drawing.Color).
HeightGets or sets the height of the CAPTCHA image.
WidthGets or sets the width of the CAPTCHA image.
ImageAlternativeTextGets or sets the ALT attribute of the IMG tag in the HTML
ImageCssClassGets or sets the CSS class of the CAPTCHA image
TextLengthGets or sets the number of CaptchaChars used in the CAPTCHA text.
FontWhiteListGets or sets a semicolon-delimited list of valid fonts to use when no font is provided
ImageStorageLocationGets or sets the storage location for the CaptchaImage (see note below): Cache, Session
RenderImageOnlyGets or sets bool value that indicates whether the RadCaptcha image will only be rendered on the page (without the CaptchaTextBox and Label). When set to true only the image is rendered on the page. By setting the “ValidatedTextBoxID” property of the RadCaptcha, the user can choose a custom TextBox where the Captcha code will be entered and validated.
CharSetGets or sets a custom Character Set, from which the characters used to render the CaptchaImage, are randomly chosen. To use this property you must set the “CaptchaImage-TextChars” to CaptchaPossibleChars.CustomCharSet. The CharSet must contain at least 15 characters.
AutoBot Discovery specific Properties
InvisibleTextBoxLabelGets or sets the hidden textbox strategy label text.
MinTimeoutGets or sets the minimum number of seconds form must be displayed before it is valid. If you're too fast, you must be a robot.

TextBoxDecoration and TextBoxLabelDecoration

Element Decorators Properties

PropertyDescription
AccessKeyGets or sets the access key that allows you to quickly navigate to the control. Note that RadCaptcha's AccessKey value will be used instead if set.
BackColorGets or sets the background color of the control.
BorderColorGets or sets the border color of the control.
BorderStyleGets or sets the border style of the control.
BorderWidthGets or sets the border width of the control.
CssClassGets or sets the Cascading Style Sheet (CSS) class rendered by the control.
FontGets the font properties associated with the control.
ForeColorGets or sets the foreground color (typically the color of the text) of the control.
HeightGets or sets the height of the control.
TabIndexGets or sets the tab index of the control. Note that RadCaptcha's TabIndex value will be used instead if set.
ToolTipGets or sets the text displayed when the mouse pointer hovers over the control.
WidthGets or sets the width of the control.