Validation Groups

2 posts, 0 answers
  1. Stephen
    Stephen avatar
    3 posts
    Member since:
    Apr 2013

    Posted 29 Apr Link to this post

    I would like my validation group to only work if the Next button is clicked.  I would like to disable it for the Previous button.  In other words, I don't want the Previous button to trigger validation.  Is this possible?
  2. Plamen
    Plamen avatar
    2723 posts

    Posted 02 May Link to this post


    Here is a sample code that worked correctly at my side to validate the next button and not validate the previous button:
    <telerik:RadWizard runat="server" ID="RadWizard2" RenderedSteps="All">
                      <telerik:RadWizardStep ID="RadWizardStep3" ValidationGroup="Group1"  >
                          <asp:TextBox runat="server" ID="TextBox1" ValidationGroup="Group1" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="ADD TEXT"
                              ControlToValidate="TextBox1" ValidationGroup="Group1">
                     <telerik:RadWizardStep ID="RadWizardStep1" ValidationGroup="Group2">
                          <asp:TextBox runat="server" ID="TextBox2" ValidationGroup="Group2" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="ADD TEXT"
                              ControlToValidate="TextBox2" ValidationGroup="Group2">
                        <telerik:RadWizardStep ID="RadWizardStep2" ValidationGroup="Group3">
                          <asp:TextBox runat="server" ID="TextBox3" ValidationGroup="Group3" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="ADD TEXT"
                              ControlToValidate="TextBox3" ValidationGroup="Group3">

  3. DevCraft R3 2016 release webinar banner
Back to Top