adding validation control does make tab control unactive

2 posts, 0 answers
  1. Amir
    Amir avatar
    7 posts
    Member since:
    Apr 2009

    Posted 26 Jan 2010 Link to this post

    Hi,
    I am using tab strip and multiview panels for my tabs controls
    I have 7 tabs in tabstrip and 7 mutiview.
    After what I wanted to do on the first tab and multiview things were working.
    when i added the functionality on the 2nd multiview things were working as well. but as soon as I added the required field validators and ran the applicaiton, no error no nothing.  But  now I can't switch tabs. tabs are stand still.

    Just to check I removed validaitons control and checked again. Everything started to work fine.  So I don't know what is the problem.

    Also,  I dont have causevalidation off  on the tabstrip,
    Thanks,
  2. Poul Henningsen
    Poul Henningsen avatar
    194 posts
    Member since:
    May 2006

    Posted 27 Jan 2010 Link to this post

    Hi, Amir. Actually you have three options:

    1) Set the CausesValidation property of the tabstrip to false.
    2) Set the RenderSelectedPageOnly property of the multipage control to true. In this case you will have to set the tabstrip's AutoPostBack property to true. And finally, if you want to avoid postbacks, you can ajaxify both control via RadAjaxManager or RadAjaxPanel.
    3) Use validation groups for the different pageviews. This, however, will require some custom JavaScript coding. I think Telerik provided some example in the forum in the past. You can search the forum on the matter.

    Cheers,
    Poul

Back to Top