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

Breaking Changes with RadGridView re: Themes

2 Answers 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kathleen
Top achievements
Rank 1
Kathleen asked on 18 Jun 2010, 12:41 AM
Note:  This problem just suddenly went away, must have been a cached issue.

We upgraded to the Beta today and have found some unexpected side effects.

We were using the WIndows7 theme.  This continues to work in Development, but our test site displays the grid with no selection, only a small indicator on the selected cell and the row is not highlighted anyway.  Is there something new we might need to include in our distribution?

Also, in our configuration screen, we allow users to override alternating color and background color,and we show a sample preview grid that looks something like the code below.  Changing the AlternateBackground color no longer works, it flickers then returns to the grid background color.

<!-- sample grid -->

 

 

 

<telerikGrid:RadGridView Grid.Column="2" Grid.Row="0" Grid.RowSpan="5"

 

 

 

 

x:Name="sampleGrid" HorizontalAlignment="Left"

 

 

 

 

AutoGenerateColumns="False" IsReadOnly="True" CanUserDeleteRows="False" CanUserInsertRows="False"

 

 

 

 

ShowGroupPanel="False" GridLinesVisibility="Horizontal" Width="400" CanUserFreezeColumns="False"

 

 

 

 

telerik:StyleManager.Theme="Windows7" AlternationCount="2"

 

 

 

 

IsFilteringAllowed="False" ItemsSource="{Binding SampleGridItems}"

 

 

 

 

FontFamily="{Binding ElementName=cmbFontFamily, Path=SelectedItem}"

 

 

 

 

FontSize="{Binding ElementName=cmbFontSize, Path=SelectedValue}"

 

 

 

 

Foreground="{Binding ElementName=fontColorPicker, Path=SelectedColor, Converter={StaticResource colorToBrushConverter}}"

 

 

 

 

Background="{Binding ElementName=gridBackGroundColor, Path=SelectedColor, Converter={StaticResource colorToBrushConverter}}"

 

 

 

 

AlternateRowBackground="{Binding ElementName=gridAlternateRowBackground, Path=SelectedColor, Converter={StaticResource colorToBrushConverter}}" IsTabStop="False">

 

 

 

 

 

<telerikGrid:RadGridView.Columns>

 

 

 

 

 

<telerikGrid:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="{Binding Source={StaticResource ServiceResources},Path=ResourceStrings.NameHeader}"/>

 

 

 

 

 

<telerikGrid:GridViewDataColumn DataMemberBinding="{Binding Address}" Header="{Binding Source={StaticResource ServiceResources},Path=ResourceStrings.AddressHeader}"/>

 

 

 

 

 

</telerikGrid:RadGridView.Columns>

 

 

 

 

 

</telerikGrid:RadGridView>

 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Kalin Milanov
Telerik team
answered on 18 Jun 2010, 01:47 PM
Hello Kathleen,

I have made some tests in hopes of reproducing the errors you are refering to but to no avail. Every single property you modified in the sample code is working as expected. Are you also redefining the template of the row? If such is the case could you also send that template so I can investigate this.

That being said we will continue looking for reasons which might be causing the issues you are having and fix them should there be any need for that.

All the best,
Kalin Milanov
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
Kathleen
Top achievements
Rank 1
answered on 18 Jun 2010, 01:48 PM
Sorry for the trouble, the problem just went away, without any real reason.

May have been a local cached file issue.
Tags
General Discussions
Asked by
Kathleen
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Kathleen
Top achievements
Rank 1
Share this question
or