Hi,
I've a hierarchical RadGridView I populated withtwo Datatables in a Dataset with Data from a sql Table.
With that:
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.GridView.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
I've applied the Material-Theme.
In the default theme everything works fine, but with the applied Material theme after a few expansions, the grid suddenly gets white and after scrolling has its data again but at the top there is a random white space suddenly.
I'm suddenly tesing with the trials version, but don't think that's tthe reson for the problem.
Greetings Benedikt
6 Answers, 1 is accepted
Thank you for the provided images.
Looking at the MergedDictionaries, the Navigation.dll is not merged. My guess here is that is the reason behind this behavior. You can add a reference to the Telerik.Windows.Controls.Navigation.dll and merged it in the Application resources. Check the following code snippet.
<
Application.Resources
>
<
ResourceDictionary
>
<
ResourceDictionary.MergedDictionaries
>
<
ResourceDictionary
Source
=
"/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.xaml"
/>
<
ResourceDictionary
Source
=
"/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.Input.xaml"
/>
<
ResourceDictionary
Source
=
"/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.GridView.xaml"
/>
<
ResourceDictionary
Source
=
"/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.Navigation.xaml"
/>
</
ResourceDictionary.MergedDictionaries
>
</
ResourceDictionary
>
</
Application.Resources
>
Give this approach a try and let me know how it goes on your side.
Regards,
Dinko
Progress Telerik

Hey Dinko,
Sorry for the late response, I had holidays for 2 weeks.
I added your snippet, but sadly the behaviour is still the same.
Greetings
Benedikt

After testing, I can say, that I have the same thing with the Office 2016 Theme...
I now uploaded my VisualStudio project here: https://www.dropbox.com/s/hiuw1m7rn0hmj9s/KEMlogTelerik.zip?dl=0. Caused by the database connection ysou won't really be able to debug it but maybe see a problem in my code.

I can now say, I have the reason for my problem. Sadly no solution.
If I have a column with HeaderTextWrapping="Wrap" these strange behaviour appears. And also if the childtemplate has ShowGroupPanel="False".
I could live with the TextWrappping, but the ChildGroupPanel makes the table way too big to work with it...

I am happy to hear that GroupRenderMode property works for you. If you have any other questions, you can open a new thread with your questions inside.
Regards,
Dinko
Progress Telerik