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

help for silverlight beginer

1 Answer 31 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 2
Iron
Iron
Pierre asked on 30 Mar 2010, 07:45 PM
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:

<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> 
 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?

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 05 Apr 2010, 08:41 AM
Hi Pierre,

We have tried to reproduce this but we could not. Could you please open a separate support tickets and send us your sample project. We will examine it to see what is going wrong. Thanks in advance.

All the best,
Ross
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Pierre
Top achievements
Rank 2
Iron
Iron
Answers by
Rossen Hristov
Telerik team
Share this question
or