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

Multiple tabs validation

1 Answer 63 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Slavisa Radicevic
Top achievements
Rank 1
Slavisa Radicevic asked on 16 Jun 2010, 03:52 PM
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

Sort by
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.

On a side note, I'd like to inform you that we've just released an online tool that allows you to reduce the size of your Silverilght applications. For more information, please visit http://blogs.telerik.com/blogs/posts/10-06-10/telerik_assembly_minifier.aspx.

Regards,
Tina Stancheva
the Telerik team
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
Tags
TabControl
Asked by
Slavisa Radicevic
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or