This is a migrated thread and some comments may be shown as answers.

adding validation control does make tab control unactive

1 Answer 71 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Amir
Top achievements
Rank 1
Amir asked on 26 Jan 2010, 05:12 PM
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,

1 Answer, 1 is accepted

Sort by
0
Poul Henningsen
Top achievements
Rank 1
answered on 27 Jan 2010, 09:27 PM
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

Tags
TabStrip
Asked by
Amir
Top achievements
Rank 1
Answers by
Poul Henningsen
Top achievements
Rank 1
Share this question
or