I am using a tab container with four tab panels. On the first panel is my user information 10 fields 8 are required and have required field validators attached to them. On the second tab is a button that when clicked checks the 8 required fields for validity. If they are not all filled in I would like to have the first tab become the selected tab. Is there anyway to do this? Just starting to work with ajax so any hints would be greatly appreciated.
I'll give it a look tomorrow at work!
Just replying so it gets in my posts and I will remember ;)
I'll get back to you,
Wim.
Ok smitty,
I made a small working example.
(It could be that you have to change the tagprefixes of the controlToolkit extenders)
I got my inspiration here:
You could read them to get full understanding of what I'm doing in the code:
Calling ASP.net validators with javascript (http://www.codeproject.com/useritems/JavascriptValidation.asp)Thank you so much. This has solved my problem.
Thanks
No comments:
Post a Comment