validattion problem with TabStrip / Load on Demand RadPageView

2 posts, 0 answers
  1. Frank
    Frank avatar
    18 posts
    Member since:
    Sep 2008

    Posted 01 Dec 2009 Link to this post


    I use the tabstrip with usercontrols- load on demand:

    I want to use this inside a form with validation.
    On every tab, there are different form elements, and each of them has to be validated, if AND ONLY IF the user has seleceted the tab.
    When a user clicks on every tab, they get loaded to the system, and the form validation fires on every tab.
    - The validation should of cause only happen on the the form elements for the selected tab.
    How can this be done?

    I believe i don't need to send code? - I have form on the master page, some form elements on the master page, and different form elements on the usercontrols -pages.

    Any ideas?

    best regards,

  2. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 02 Dec 2009 Link to this post


    For every element in your tab, set ValidationGroup property to the same (but only in this tab):

    Tab 1:
    ValidationGroup = "Tab1";

    Tab 2:
    ValidationGroup = "Tab2";

    If the validation groups are unique across tabs, the button on tab 1 will only validate this tab
Back to Top