Validation for every single RAD TAB in RAD TAB STRIP

4 posts, 0 answers
  1. Manivannan
    Manivannan avatar
    4 posts
    Member since:
    Feb 2012

    Posted 13 Feb 2012 Link to this post

    Hi All,

    I have a tabstrip with 5 tabs 
    I need validation group for every single TABs.
    I want to acheive the below result

    When i click on the second tab, only the FIRST tab needs to be validated
    When i click on the third tab, only the SECOND tab needs to be validated and so on.

    and  If i'm in second tab, and clicked the FIRST tab, i dont want to consider whether SECOND tab is validated or not, i just want to move to FIRST tab

    Help me out of this guys

  2. Manivannan
    Manivannan avatar
    4 posts
    Member since:
    Feb 2012

    Posted 13 Feb 2012 Link to this post

    I have achieved one half

    • When i click on the second tab, only the FIRST tab needs to be validated
    • When i click on the third tab, only the SECOND tab needs to be validated

    I changed the ValidationGroup for the RADTABSTRIP at every TAB CLICK.

    (i.e):

    Initially RADTABSTRIP  's validation group will be FIRST TAB.
    On the server side of the second tab click, i changed the validation group to second tab
    On the server side of the third tab click, i changed the validation group to third tab  and so on..

    But i cant go back to first and second tab, when i was in third tab. It shows the validation error.

    How can i overwrite the validation in the previous tabs click ?????

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 13 Feb 2012 Link to this post

    Hello,

    Take a look into the following Demo.
    TabStrip / Validation Groups

    -Shinu.
  5. Manivannan
    Manivannan avatar
    4 posts
    Member since:
    Feb 2012

    Posted 13 Feb 2012 Link to this post

    HI Shinu,

    Thanks for you reply.

    Earlier using the same example i got thru half a way, as you see my above reply.

    TabStrip / Validation Groups 

    In this scenario, 

    if i'm in My Account tab, i wanna move to Products tab, without any validation.

    if i'm in Administration tab, i wanna move to My Accounts, Products without any validation

    But this functionality is not there in the example.

    (i.e) In short, i want few tabs to validate and few tabs not

    Any idea about how can i achieve it.??
Back to Top