Wizard Validation not working?

9 posts, 0 answers
  1. Jeff
    Jeff avatar
    10 posts
    Member since:
    Jan 2015

    Posted 14 May 2015 Link to this post

    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>

  2. Jeff
    Jeff avatar
    10 posts
    Member since:
    Jan 2015

    Posted 14 May 2015 in reply to Jeff Link to this post

    I just realized I posted this in the wrong place, Going to try to move it. 
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Magdalena
    Admin
    Magdalena avatar
    421 posts

    Posted 18 May 2015 Link to this post

    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
  5. John
    John avatar
    8 posts
    Member since:
    Aug 2015

    Posted 21 Aug 2015 Link to this post

    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
  6. John
    John avatar
    8 posts
    Member since:
    Aug 2015

    Posted 21 Aug 2015 Link to this post

    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.
  7. Magdalena
    Admin
    Magdalena avatar
    421 posts

    Posted 24 Aug 2015 Link to this post

    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
  8. John
    John avatar
    8 posts
    Member since:
    Aug 2015

    Posted 24 Aug 2015 Link to this post

    Ticket submitted. Here is a short video too of me pasting in the sample code and running it.

     

    http://screencast.com/t/RbWB5jwmou

     

     

     

  9. Brendan
    Brendan avatar
    2 posts
    Member since:
    Sep 2012

    Posted 25 Aug 2015 in reply to John Link to this post

    John,

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

  10. Brendan
    Brendan avatar
    2 posts
    Member since:
    Sep 2012

    Posted 26 Aug 2015 Link to this post

    Fixed this by going to Jeff's other post.

     

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

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017