This is a migrated thread and some comments may be shown as answers.

Wizard Validation not working?

7 Answers 350 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 14 May 2015, 03:55 PM

Hi guys,

 I've been kinda pulling my hair out over this one, I'm trying to get Wizard validation working and I don't know if its just something in my project or what, but no matter what I do, they will not fire. 

 I've gone as far as copying the example from the Wizard Validation article (http://www.telerik.com/help/aspnet-ajax/wizard-validation.html) and it still will not fire. Am I missing something? Maybe some project level setting? Like I said, I feel like I'm taking crazy pills :P 

Thanks in advance!

 My entire test page, the validation does not fire: 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head runat="server">
    <title>Telerik ASP.NET Example</title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
        <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
        <div>
            <telerik:RadWizard ID="RadWizard6" runat="server">
                <WizardSteps>
                    <telerik:RadWizardStep ID="RadWizardStep1" CausesValidation="true" Title="Personal Info" runat="server" StepType="Step" ValidationGroup="personalInfo">
                        <div class="inputWapper first">
                            <asp:Label ID="Label3" Text="First Name: *" runat="server" AssociatedControlID="FirstNameTextBox" />
                            <telerik:RadTextBox ID="FirstNameTextBox" runat="server" ValidationGroup="personalInfo" Width="320px"></telerik:RadTextBox>
                            <asp:RequiredFieldValidator ID="FirstNameRequiredFieldValidator" runat="server" ControlToValidate="FirstNameTextBox" EnableClientScript="true" ValidationGroup="personalInfo" ErrorMessage="required field" CssClass="validator" ForeColor="Red"></asp:RequiredFieldValidator>
                        </div>
                    </telerik:RadWizardStep>
                    <telerik:RadWizardStep Title="SecondStep">
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    </telerik:RadWizardStep>
                </WizardSteps>
            </telerik:RadWizard>
        </div>
    </form>
</body>
</html>

7 Answers, 1 is accepted

Sort by
0
Jeff
Top achievements
Rank 1
answered on 14 May 2015, 03:55 PM
I just realized I posted this in the wrong place, Going to try to move it. 
0
Magdalena
Telerik team
answered on 18 May 2015, 06:58 AM
Hello Jeff,

We have run the code that you had provided and it works properly on our side. We are sending you this video that show the behavior of a tested page. Could you please provide a sample where the issue is reproduce - the validation is not fired?

Regards,
Magdalena
Telerik
0
John
Top achievements
Rank 1
answered on 21 Aug 2015, 05:02 PM
I'm having the same problem as Jeff. VS2013, The validation will not fire. I'm not using div tags, but that shouldn't matter
0
John
Top achievements
Rank 1
answered on 21 Aug 2015, 05:41 PM
I just created a brand new project and pasted your code in and it still does not work. It allows me to proceed to the new step, no required fields validators fire.
0
Magdalena
Telerik team
answered on 24 Aug 2015, 10:07 AM
Hi John,

As we are not able to reproduce the issue, could you please open a support ticket, so you will be able to attach a sample project where the issue is reproduced? If we can test it locally we can assist you in more efficient way.

Regards,
Magdalena
Telerik
0
Brendan
Top achievements
Rank 1
answered on 25 Aug 2015, 08:04 PM

John,

Any luck with this issue? I'm having the same problem.

0
Brendan
Top achievements
Rank 1
answered on 26 Aug 2015, 11:44 AM

Fixed this by going to Jeff's other post.

 

http://www.telerik.com/forums/wizard-validation-not-working-65a1b2ac8bb5#s1zUjKVPFkKMZrUsYJYv9Q​

Tags
Wizard
Asked by
Jeff
Top achievements
Rank 1
Answers by
Jeff
Top achievements
Rank 1
Magdalena
Telerik team
John
Top achievements
Rank 1
Brendan
Top achievements
Rank 1
Share this question
or