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

[Solved] RadGridView Theme Problem

2 Answers 124 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
prakash
Top achievements
Rank 1
prakash asked on 04 Oct 2010, 02:18 PM
Hi Everybody,

We have problem in RadGridView theme. Actually we have converted our silverlight application from silverlight 3 to silverlight 4 and the telerik version we are using is 2010 Q1 [2010.1.309.1030].

After conversion data is not shown in RadGridView.
But when we select a row data are shown for that row alone and the rest of rows are shown as empty expect the selected row.. whereas before conversion it shown data in RadGridView for all rows. The selected rows are in different style and rest will be shown in different style.

So we felt RadGridView theme is not working.. Current theme assigned to RadGridView is VistaTelerik

The Code:

xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
xmlns:controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"

<telerik:RadGridView x:Name="RadGridView1"
Background="Transparent" BorderThickness="0"
ColumnBackground="Transparent" IsReadOnly="True" AutoGenerateColumns="False"
controls:StyleManager.Theme="VistaTelerik" >

Kindly help us to solve the problem.. We are in critical state to solve this issue

Thanks in Advance

P.Prakash..

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 07 Oct 2010, 09:14 AM
Hello Prakash,

Unfortunately using your code snippet we are not able to reproduce the issue so that it could be great if  you can send us a small application that reproduces such a behaviour.

Regards,
Vanya Pavlova
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
0
prakash
Top achievements
Rank 1
answered on 08 Oct 2010, 04:26 PM
Hi Vanya Pavlova,

Thanks for your response. 

We have solved that issue.

Problem Desc:
We have defined styles for TextBlock in the App.XAML, This style are reflected in the GridView Row. So we set a separate style for TextBlock in the Grid and which solves our problem

Code:
<
telerik:RadGridView.Resources>
<Style TargetType="TextBlock">
<Setter Property="Foreground" Value="Black"></Setter>
</Style>
</telerik:RadGridView.Resources>

Thanks,
P.Prakash.

 

Tags
GridView
Asked by
prakash
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
prakash
Top achievements
Rank 1
Share this question
or