RadTabControl not Visible in Designer

4 posts, 0 answers
  1. Rob
    Rob avatar
    12 posts
    Member since:
    Apr 2012

    Posted 12 Sep 2012 Link to this post

    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
  2. Telerik.Windows.Controls
  3. Telerik.Windows.Controls.Navigation
  4. Telerik.Windows.Data

  5. 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>

  • Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 14 Sep 2012 Link to this post

    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.

  • UI for WPF is Visual Studio 2017 Ready
  • Rob
    Rob avatar
    12 posts
    Member since:
    Apr 2012

    Posted 15 Sep 2012 Link to this post



    I am using the latest assemblies and with xaml.
  • Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 17 Sep 2012 Link to this post

    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.

  • Back to Top