Hi, i just starting exploring silverlight Telerik control. I usally work with the ajax suite
I create a new projet with the Business Application Template and RIA service with VS2010 and SL4.
On the aleready created HOME page I do:
In the code behind I hook up to my RIA Service and return all the customer from the Northwind databse.
All work good except the telerik "visual style":
First ethier I add a reference to the Windows7 Theme and use it in the control, the default one are used when i run the program.
Second when I hover on the grid columns or on the pager buton, the "hover" visual effect are not working. The hover work only for the first colum of the grid. Do not work on page and other grid colum.
What i am doing wrong?
I create a new projet with the Business Application Template and RIA service with VS2010 and SL4.
On the aleready created HOME page I do:
<navigation:Page |
x:Class="Formation.Home" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" |
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" |
Style="{StaticResource PageStyle}" |
xmlns:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" |
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" |
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"> |
<Grid x:Name="LayoutRoot"> |
<Grid> |
<Grid.ColumnDefinitions> |
<ColumnDefinition Width="*"/> |
<ColumnDefinition Width="220" /> |
</Grid.ColumnDefinitions> |
<Grid Grid.Column="0" Margin="10,0,0,0"> |
<Grid.RowDefinitions> |
<RowDefinition Height="*"/> |
<RowDefinition Height="Auto"/> |
</Grid.RowDefinitions> |
<telerikGridView:RadGridView x:Name="radGridView1" telerik:StyleManager.Theme="Windows7" |
CanUserFreezeColumns="False" |
AutoGenerateColumns="True" |
IsReadOnly="True" |
ShowGroupPanel="False" |
Margin="10,0,10,0"> |
</telerikGridView:RadGridView> |
<telerikGridView:RadDataPager Grid.Row="1" telerik:StyleManager.Theme="Windows7" |
x:Name="radDataPager1" |
PageSize="25" |
Source="{Binding Items, ElementName=radGridView1}" |
DisplayMode="All" |
AutoEllipsisMode="Both" |
NumericButtonCount="10" |
IsTotalItemCountFixed="False" |
Margin="10,0,10,0"/> |
</Grid> |
</Grid> |
</Grid> |
</navigation:Page> |
All work good except the telerik "visual style":
First ethier I add a reference to the Windows7 Theme and use it in the control, the default one are used when i run the program.
Second when I hover on the grid columns or on the pager buton, the "hover" visual effect are not working. The hover work only for the first colum of the grid. Do not work on page and other grid colum.
What i am doing wrong?