Theming RadSplitButton not working...

4 posts, 0 answers
  1. Matthew
    Matthew avatar
    4 posts
    Member since:
    May 2013

    Posted 04 Nov 2013 Link to this post

    Hello, thanks for taking the time to help me with my issue.

    Currently trying to slim down the number of buttons on pages and have decided to use the Telerik RadSplitButton. However due to the drastic difference between the default Telerik style and the default Windows control styles I was trying to theme the control as "Summer" or "Vista" as displayed in the demo on: "http://demos.telerik.com/silverlight/#Buttons/Theming". However I seem to only be able to get "Office_Black" to work or the default which appears to be the "Windows7" theme. I have included the binaries as described in: "http://www.telerik.com/help/silverlight/common-styling-apperance-setting-theme.html" and have set the telerik:StyleManager.Theme="Vista", but to no avail.  Below is a snippit of the xaml, and attached is a screenshot of my references. Any help would be great, thanks.



    --XAML--
    <Dashboard:ViewBase x:Class="CS.Silverlight.ComponentLibraries.GenericComponents.UserDashboardControl"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
               xmlns:Dashboard="clr-namespace:CS.Sentry.Silverlight.Library.Controls;assembly=Library"
               xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls">
     
     
          <telerik:RadSplitButton ButtonCornerRadius="3" telerik:CornerRadius="3" DropDownWidth="100" x:Name="SaveButton" Margin ="2" Width="100" Height="21" Cursor="Hand"
                                        telerik:StyleManager.Theme="Office_Silver" Content="Save" Click="SaveButton_Click" AutoOpenDelay="0:0:0.0" >
            <telerik:RadSplitButton.DropDownContent>
              <ListBox>
                <ListBoxItem Content="Save As" MouseLeftButtonUp="SaveAsButton_Click" x:Name="SaveAsButton" />
                <ListBoxItem Content="Delete" MouseLeftButtonUp="DeleteButton_Click" x:Name="DeleteButton" />
              </ListBox>
            </telerik:RadSplitButton.DropDownContent>
          </telerik:RadSplitButton>
  2. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 07 Nov 2013 Link to this post

    Hello Matthew,

     I prepared a sample project with latest official binaries trying to reproduce your problem but to no avail. The Vista theme gets applied with practically no change to your code snippet but by adding reference to the theme in project references. Please try to reproduce the problem in the attached project or send us runnable version of yours which we can use to reproduce the issue locally.

    Regards,
    Evgenia
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Matthew
    Matthew avatar
    4 posts
    Member since:
    May 2013

    Posted 07 Nov 2013 Link to this post

    Is theming not supported in Silverlight v4? My project is targeted at v4 and I see the sample project is targeted at v5.
  5. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 11 Nov 2013 Link to this post

    Hi Matthew,

    I highly recommend that you upgrade to our latest official binaries with Silverlight 5. The reason is that we discontinued the support for SL 4 and WPF 3.5 as of Q3 2013 (you can read here what this exactly means).
    Another great reason for you to stick to latest SL version is that you get used of our latest hotfixes, support and new features.

    Regards,
    Evgenia
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top