Setting tab item content

2 posts, 0 answers
  1. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 17 Jul 2011 Link to this post


    I am using the Silverlight controls with Silverlight 5 beta. However, how do I set a tab content item?

    I've tried various ways, and even in the thread just below about tabcontent, but nothing seems to work without an error. :(

    BTW, I am on Silverlight 4 and 5 SDK, but the VS2010 project is set to Silverlight 4. Is that a problem?

  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 20 Jul 2011 Link to this post

    Hello Gurdeep,

    I am not sure that I fully understand the nature of your issue. Bellow is an example how to create a very simple RadTabControl definition:

    <telerik:RadTabControl Width="350" Height="350">
                    <TextBlock Text="I am Header" />
                <Grid Background="LightYellow">
                    <TextBlock Text="I am Content" HorizontalAlignment="Center"
                            VerticalAlignment="Center" FontSize="36" />

    The above code results in the following:

    More information on RadTabControl can be found here.

    Kiril Stanoev
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top