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

RadTabControl not Visible in Designer

3 Answers 387 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 12 Sep 2012, 06:31 PM
I am trying to follow the example at http://www.telerik.com/help/wpf/radtabcontrol-getting-started.html (without Expression Blend), but when I add the RadTabControl, it is not visible in the designer.  References are set to
  • Telerik.Windows.Controls
  • Telerik.Windows.Controls.Navigation
  • Telerik.Windows.Data

  • Also, the RadTabControl is not listed in my toolbox.
    <UserControl x:Class="MyApp.MyModule.Views.ModuleTabs"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                 mc:Ignorable="d"
                 d:DesignHeight="300" d:DesignWidth="300">
      <Grid>
        <telerik:RadTabControl>
          <telerik:RadTabItem Header="Calendar" />
          <telerik:RadTabItem Header="Colors" IsBreak="True" />
          <telerik:RadTabItem Header="Quote" />
        </telerik:RadTabControl>
      </Grid>
    </UserControl>

    3 Answers, 1 is accepted

    Sort by
    0
    Tina Stancheva
    Telerik team
    answered on 14 Sep 2012, 11:45 AM
    Hi Rob,

    I am not sure which version of the controls you're using but if you're using the latest releases, please note that we provide two type of references for WPF - no-xaml and normal assemblies. The 'no-xaml' assemblies include only the class definitions and no xaml resources. This means that if you reference a no-xaml assembly in your solution, you'll have to define a ControlTemplate and Style for the Telerik controls. Otherwise you won't see anything as they won't be able to find any default style settings.

    The no-xaml assemblies can help you decrease the size of your application and they are usually used when you style your application using an implicit styles approach as described here.

    In your case, as you can't see the RadTabControl, I was wondering if you can check whether the assemblies you referenced are normal or no-xaml assemblies. I also attached a GettingStarted project so that you can take a look at the RadTabControl and its default settings.

    As for the Toolbox, you can use the Toolbox Configurator to configure it properly - in our documentation you can find a tutorial on how to do that. You can also take a look at this article describing how to add the RadControls in the VSToolbox, to see if you've missed something.

    Let me know if this information helps or if we can further assist you.

    Regards,
    Tina Stancheva
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

    0
    Rob
    Top achievements
    Rank 1
    answered on 15 Sep 2012, 09:38 PM


    I am using the latest assemblies and with xaml.
    0
    Tina Stancheva
    Telerik team
    answered on 17 Sep 2012, 07:30 AM
    Hi Rob,

    Can you send over your solution or modify the project I attached to reproduce the issue so that we can take a closer look at it on our side? Thank you in advance.

    Greetings,
    Tina Stancheva
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

    Tags
    TabControl
    Asked by
    Rob
    Top achievements
    Rank 1
    Answers by
    Tina Stancheva
    Telerik team
    Rob
    Top achievements
    Rank 1
    Share this question
    or