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

RadTabItem.Content with another xaml file

1 Answer 66 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Louis Bouchard
Top achievements
Rank 1
Louis Bouchard asked on 13 Jun 2010, 01:41 AM
Hello,

I don't want to put all my xaml lines between each of my RadTabItem.Content because it's too long.

Someone can tell me how to refer to another xaml file that I put in my content?

By example, I have a RadGridView under one tab, a DataForm under other one.  I want to put my RadGridView in another silverlight page and so on.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Viktor Tsvetkov
Telerik team
answered on 16 Jun 2010, 04:03 PM
Hi Louis Bouchard,

You can extract whatever you want in a loose xaml file as a ResourceDictionary and then you can refer to this xaml file in your actual ResourceDictionary via the Source property. For more information read this article.

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

Best wishes,
Viktor Tsvetkov
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
Louis Bouchard
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
Share this question
or