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

Datapager not displaying

4 Answers 202 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
Randy Hompesch
Top achievements
Rank 1
Randy Hompesch asked on 30 Nov 2016, 01:43 PM

Hi,

I have a relatively simple RadGridView with a datapager. On one machine everything works fine. However, when I check out the sources to another machine everything works, but the datapager does not display, and there is no indication of an error. Any ideas how I could track this down?

Thanks ... Ed

 

4 Answers, 1 is accepted

Sort by
0
Accepted
Dilyan Traykov
Telerik team
answered on 01 Dec 2016, 09:53 AM
Hello Ed,

Such results can occur if you're using implicit styles and have not based the style of a given control on the default style for that control.

<Style TargetType="telerik:RadDataPager" BasedOn="{StaticResource RadDataPagerStyle}">
    <!-- -->
</Style>

Please also make sure that the HinthPaths inside your .csproj file are targeting the correct assemblies.

If none of these suggestions work for you, please share more information on your exact setup and I will gladly assist you further. Providing a sample project for me to have a look at or any code you find relevant to this issue would definitely be of help. I will be awaiting your reply.

Regards,
Dilyan Traykov
Telerik by Progress
Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
0
Randy Hompesch
Top achievements
Rank 1
answered on 01 Dec 2016, 11:48 AM

it was the HinthPaths.

Boy, I never would have figured that one out!

Thanks ... Ed

 

0
Mihai
Top achievements
Rank 1
answered on 23 Apr 2018, 11:15 AM

Hi there,

 

I'm experiencing the same issue here. I'm trying to use a RadDataPager with QueryableDataServiceCollectionView.

I tried creating a simple project, just to make sure it's not related to anything in my code, and it's still not displaying the RadDataPager.

I'm using the WPF release version 2018.1.220

I checked what Dilyan is suggesting, but no success.

Any idea what else can cause this issue?

 

Thanks,

Mihai

0
Dilyan Traykov
Telerik team
answered on 25 Apr 2018, 11:49 AM
Hello Mihai,

A possible reason for this issue if you're using the NoXaml binaries with the implicit style approach for theming the controls is that the required resource dictionaries are not merged. Here are the required dictionaries:

<Application>
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/System.Windows.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.Data.xaml"/>    
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>

Please note that this snippet assumes the Office_Black theme is used and if you're using another one, you should replace this accordingly.

If this does not solve your issue, what I can suggest is for you to open a new support ticket and attach the sample project you've created so that I can further investigate and assist you.

Please let me know how this goes.

Regards,
Dilyan Traykov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
DataPager
Asked by
Randy Hompesch
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Randy Hompesch
Top achievements
Rank 1
Mihai
Top achievements
Rank 1
Share this question
or