Hello,
I am trying to validate data contained in several tabs, but I can only validate date for the current tab. I noticed that visual tree is not loaded for other tabs and that is the problem. Is they any workaround to load visual tree for non-selected tabs?
1 Answer, 1 is accepted
0
Tina Stancheva
Telerik team
answered on 21 Jun 2010, 12:23 PM
Hello Slavisa Radicevic,
No, unfortunately there is no way to load the visual tree for content that is not currently selected, since switching between tabs makes the TabControl unload the content of the last active item and load the content of the newly selected item. This is done for performance reasons mainly.
However, in your case I can suggest you to databind the UI elements which content has to be validated. This way you will be able to access the properties the elements are bound to at any time and validate all necessary info.
Give it a try and let me know if this approach works for you or if you need more info.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items