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

The Captcha Provider

This article explains how to setup the server-side provider for the Telerik UI Captcha for ASP.NET MVC. The provider generates and validates CAPTCHAs via helper classes and methods.

Setup

The server-side Telerik UI Captcha provider comes with the Telerik.Web.Captcha.dll. To include the dll in your project:

  1. In your project, right-click References.
  2. Select Add Reference...
  3. Click Browse....
  4. Navigate to the installation folder of the Telerik UI for ASP.NET MVC. The dll is located in the ~/installationFolder/captcha/net40 directory.
  5. Select Telerik.Web.Captcha.dll and click Add.

In the C# backend file or controller, add references to the following namespaces:

Razor
    using System;
    using System.Drawing.Imaging;
    using System.IO;
    using System.Web.Mvc;
    using Telerik.Web.Captcha;

For more information about the usage and integration of the Captcha provider in an ASP.NET MVC application, see the Validation article.

See Also

In this article
SetupSee Also
Not finding the help you need?
Contact Support