This question is locked. New answers and comments are not allowed.
On the following code,
How do you call RadCaptcha1 when it's inside <asp:CreateUserWizard .
I have tried those but it does not work
end if
end if
Thx
Charles
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server" OnCreatedUser="insertVal" ContinueDestinationPageUrl="~/default.aspx" CreateUserButtonStyle-CssClass="buttonEnable" OnCreatingUser="CreateUserWizard1_CreatingUser" OnCreateUserError="createUserFail"> <WizardSteps> <asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server"> <ContentTemplate> <table border="0" width=100%> <tr><td colspan="3"> <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server"/> <div > <table border=0 width=250 height=120> <tr> <td align=center> <asp:Label ID="lblErrorMessage" runat="server" ForeColor="Red" ></asp:Label> <telerik:RadCaptcha ID="RadCaptcha1" runat="server" ErrorMessage="The code is not valid." ValidationGroup="CreateUserWizard1" ValidatedTextBoxID="rcTextBox1" Display=none> <CaptchaImage RenderImageOnly="true" BackgroundColor="white" TextColor="Black" BackgroundNoise="None" /> </telerik:RadCaptcha><br /> <asp:Label ID="rcLabel1" runat="server" AssociatedControlID="rcTextBox1"><h3>Type the code from the image:</h3></asp:Label> <asp:TextBox ID="rcTextBox1" runat="server" MaxLength="5" Width="170px"></asp:TextBox> </td> </tr> </table> </div> <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"> </telerik:RadScriptBlock> ... </asp:CreateUserWizard>How do you call RadCaptcha1 when it's inside <asp:CreateUserWizard .
I have tried those but it does not work
If
Not RadCaptcha1.IsValid Then
...
end if
If Not CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("RadCaptcha1").IsValid Then
...
end if
Thx
Charles