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

Theming RadSplitButton not working...

3 Answers 71 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 04 Nov 2013, 02:49 PM
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>

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 07 Nov 2013, 12:20 PM
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 >>
0
Matthew
Top achievements
Rank 1
answered on 07 Nov 2013, 01:42 PM
Is theming not supported in Silverlight v4? My project is targeted at v4 and I see the sample project is targeted at v5.
0
Evgenia
Telerik team
answered on 11 Nov 2013, 01:05 PM
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 >>
Tags
Buttons
Asked by
Matthew
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Matthew
Top achievements
Rank 1
Share this question
or