Dimitar,
Thanks very much for this. It works perfectly.
Following the same example, i was trying to add to the Tab header a small icon (a red exclamation sign) to point out which Tabs contain errors.
This is because if a user hits the save button and there is a validation error on a tab that is not the selected one at the time, the user does not understand why the save is not happening. This way, when he hits save, and there is a validation error on a non-selected tab, the user will see the red icon on pointing out in which tab there is an error.
My question is, i notice that validation is done on the fly, so if you have a unput field that is mandatory and has a validator error tooltip when blank, as soon as we start typing something, the tooltip will go away. Is there any way that i can hide the tab header icon at that same time? is there any event fired when we start typing and the error tooltip is hidden that i can also use to check if the tab icon can be hidden also?
Thanks again for your support and the solution great solution proposed,
Regards,
Carlos