4 Answers, 1 is accepted
0
Hello Patrick,
George
the Telerik team
Can you please reattach the sample project?
George
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 23 Feb 2012, 07:12 PM
Hello George,
I uploaded the test case again.
But it seems that I cannot upload a zip file with a project: it is removed by your forum software!
Patrick
I uploaded the test case again.
But it seems that I cannot upload a zip file with a project: it is removed by your forum software!
Patrick
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 23 Feb 2012, 07:16 PM
Hello Gorge,
to create the test case, create a new Silverlight application and reference the Telerik.Windows.Controls, Telerik.Windows.Controls.Navigation and Telerik.Windows.Themes.Metro assemblies.
Replace MainPage.xaml with:
Replace MainPage.xaml.cs with:
Run the application and click on the Change theme menu item.
Oatrick
to create the test case, create a new Silverlight application and reference the Telerik.Windows.Controls, Telerik.Windows.Controls.Navigation and Telerik.Windows.Themes.Metro assemblies.
Replace MainPage.xaml with:
<
UserControl
x:Class
=
"RadControlsSilverlightApp1.MainPage"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignWidth
=
"640"
d:DesignHeight
=
"480"
>
<
Grid
x:Name
=
"LayoutRoot"
>
<
telerik:RadMenu
Name
=
"Menu"
Orientation
=
"Vertical"
>
<
telerik:RadMenuItem
Header
=
"Item1"
/>
<
telerik:RadMenuItem
Header
=
"Item2"
/>
<
telerik:RadMenuItem
Header
=
"Change theme"
Click
=
"SetMetroTheme"
/>
</
telerik:RadMenu
>
</
Grid
>
</
UserControl
>
using
System;
using
System.Windows.Controls;
using
Telerik.Windows.Controls;
namespace
RadControlsSilverlightApp1
{
public
partial
class
MainPage : UserControl
{
public
MainPage()
{
InitializeComponent();
}
private
void
SetMetroTheme(
object
sender, Telerik.Windows.RadRoutedEventArgs e)
{
StyleManager.SetTheme(Menu,
new
MetroTheme());
}
}
}
Oatrick
0
Accepted
Hello Patrick,
George
the Telerik team
Thank you for reporting us this bug with the RadMenu control - we logged it in our backlog system and we will fix it in our incoming internal builds. You can observe the PITS item here -
http://www.telerik.com/support/pits.aspx#/public/silverlight/9934
I am glad to update your telerik points.
George
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>