I am using a RadCaptcha control in my web page. If I don't input anything in the textbox of RadCaptcha or enter an invalid code, then after the ajax postback returns the client-side Validity object for the RadCaptcha textbox as shown below is always showing that RadCaptcha is valid when it's not. I thought the Validity object should reflect the invalid state of RadCaptcha. There is only one RadCaptcha in my web page.
Why is the client-side Validity object on RadCaptcha's textbox not showing the correct state? Can I check on the client-side if RadCaptcha is valid since the Validity object is not reliable. I am using Telerik ASP.NET AJAX Q2 2020 version.
For accessibility, I'm trying to add a tabindex attribute to the captcha image.
Here is the script I'm using:
document.addEventListener("DOMContentLoaded", function(){
document.getElementById("ctl00_ContentContainer_EntityFormControl_aeace8755f5aec118f8f000d3a5b28d1_EntityFormControl_aeace8755f5aec118f8f000d3a5b28d1_EntityFormView_captcha_CaptchaImageUP").tabIndex = 0;
alert(‘page loaded successfully’);
});
The script can't seem to find the image tag by the id. What am I missing here?
Hi Team,
Is is possible to figure out captcha isvalid property set to false due to maxtimeout property even though correct input provided and display different error message
I have used the Telerik RadCaptcha control in a number of projects and can never get a skin to work with it. All other controls are using the skin defined in the Web.config file in the key:
<
add
key
=
"Telerik.Skin"
value
=
"Bootstrap"
/>
Does anyone have any idea why the RadCaptha is the only control that doesn't follow this in my projects?
Hello,
We have a SharePoint 2010 environment. We put the Telerik CAPTCHA to a web part but are experiencing issues with WFE server(s) hanging at random times when the “Next Image” was used. It would always come up the first time and could be successfully used but then randomly it would not work when ‘new image’ was requested from the link and it will just hang.
We would get the following error: Uncaught Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.
It works when there is only one WFE is involved. We have multiple WFEs and it would fail randomly.
Any idea/thoughts about the issue?
Thanks,
Ricky
I have a form with a set of fields including 1 captcha. I noticed Page.IsValid is always false if RadCaptcha1.IsValid is false even if all other validators for the other fields are passed.
Is it possible for the Page.IsValid to be true so that it is possible of me to find out if the other fields are really valid without I having to do one-by-one server validation check on individual fields?
I have not added any specific wav file in local, or any web config changes done in my local, still it is working in my local.
After deployement audio is not working.
Could you please let me what is the issue.
Code snippet:
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<tr>
<td style="width: 545px; height: 50px" id="tdtblCaptcha">
<table id="tblCaptcha" border="0" cellpadding="0" cellspacing="0" runat="server">
<tr>
<td>
<telerik:RadScriptManager ID="ScriptManager1" runat="server">
</telerik:RadScriptManager>
<telerik:RadCaptcha ID="RadCaptchaRegistration" runat="server" ErrorMessage="You have entered an invalid code" ValidationGroup="Group"
EnableRefreshImage="true" CaptchaImage-EnableCaptchaAudio="true" ForeColor="Red">
</telerik:RadCaptcha>
</td>
<td align="left" valign="top" style="padding-top: 28px">
<telerik:RadToolTip ID="Tooltip1" runat="server" IsClientID="true" TargetControlID="btnRefreshImage">Refresh Image</telerik:RadToolTip>
<input type="button" id="btnRefreshImage" onclick="RefreshImage(); return false;" aria-label="Refresh Captcha"
value="" />
</td>
</tr>
</table>
</td>
</tr>