Hello all
I am wondering if anybody might be familiar with the cause of an issue I am struggling with: I have a radCaptcha that validates fine on the initial postback, e.g., validating as False if the code is incorrect or missing, but then if the user fails to enter a code on the second attempt, the radCaptcha always validates as True, even after both the radCaptcha Validate method, and then the Page.Validate(<validation group>) method are called. Important to notice here that the validation works as expected after the first postback, it is just afterwards, when the user is required to enter a new code on a second attempt. It appears to me that the radCaptcha's validator does not reset itself, even if IsValid is manually reset to false at the end of the code-behind processing during the first postback. After the second postback, IsValid determinedly is stuck on True, no matter what I do, which makes me suspicious that this is a bug.
To complicate matters, the radCaptcha control in question is inside an ASCX user control, which is declared in the ASP markup, rather than loaded dynamically, and there are two validation groups on the page in question. Is there any known workaround for this sort of issue, and where should I be calling different methods? At the moment I have radCatcha.Validate and Page.Validate(<group>) in the code-behind handler for the submit button, and additionally, after I realised there was a problem, I have been experimenting with use of radCaptcha.DataBind and switching its Enabled and IsValid methods on and off manually in the Control Load handler, but nothing seems to make any difference. I could do with a pointer in the right direction to troubleshoot this problem. Where would be the recommended places to call different methods in this sort of scenario?
Thanks if you can assist.
Regards
Very simple form with only a blank report
With FormDecorator the report viewer export drop down box is disabled or does not work when FormDecorator is removed all works fine.
This only happens in IE 11
If I add ControlsToSkip="Select" to the FormDecorator markup then all is good in IE 11
<body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> <Scripts> </Scripts> </telerik:RadScriptManager> <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" /> <telerik:ReportViewer ID="ReportViewer1" Width="800" runat="server"></telerik:ReportViewer> </form> </body> 01.<%@ Page Title="Home Page" Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication6._Default" %>02.<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>03. 04.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">05.<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">06.<head id="Head1" runat="server">07. <title></title>08.</head>09.<body>10. <form id="Form1" runat="server">11. 12. <telerik:RadAjaxManager ID="RadAjaxManagerCopyLink" runat="server"> 13. <AjaxSettings>14. <telerik:AjaxSetting AjaxControlID="RadAjaxManagerCopyLink">15. <UpdatedControls>16. <telerik:AjaxUpdatedControl ControlID="Hidden_LayoutID" /> 17. </UpdatedControls> 18. </telerik:AjaxSetting>19. </AjaxSettings>20. <ClientEvents OnResponseEnd="responseEndCopyLink" />21. </telerik:RadAjaxManager>22. 23. <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">24. <script type="text/javascript">25. function CopyLink() 26. {27. $find("<%= RadAjaxManagerCopyLink.ClientID %>").ajaxRequest("TeST");28. }29. 30. function responseEndCopyLink(sender, eventArgs) 31. {32. alert('<' + document.getElementById("<%=Hidden_LayoutID.ClientID %>").value + '>');33. }34. </script>35. </telerik:RadCodeBlock>36. <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>37. 38. <input type="hidden" id="Hidden_LayoutID" name="Hidden_LayoutID" runat="server" /> 39. 40. <a id="Link1" runat="server" href="javascript:CopyLink();"> Create Layout Link </a><br /> 41. </form>42.</body>43.</html>1.Public Class _Default2. Inherits System.Web.UI.Page3. 4. Private Sub RadAjaxManager1_AjaxRequest(sender As Object, e As Telerik.Web.UI.AjaxRequestEventArgs) Handles RadAjaxManagerCopyLink.AjaxRequest5. Hidden_LayoutID.Value = "Hallo " & e.Argument.ToString6. End Sub7.End Class