IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
To enhance the Login widget with a RadCaptcha, you first need to create a custom Login widget in your project in Visual Studio. You need to implement the widget's markup by adding a RadCaptcha field. This field is displayed to verify a sequence of characters before proceeding with the password retrieval.
To create the custom login widget:
This is the code of the regular Login widget with the addition of the <telerik:RadCaptcha> field. You implement the logic of the field in the respective .cs file - in this case, the CustomLoginControl.ascx.cs file.
The <asp:RegularExpressionValidator> field checks whether the value entered in the mailTextBox is a valid email address. In case the value entered is invalid, the ValidationGroup of this field prevents post backs to the server, that is, prevents the page to be refreshed.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important