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

Error 12 The type reference cannot find a public type named 'RadDataPager'

4 Answers 283 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 08 Apr 2011, 08:18 AM
Hello,

Im having an issue with the RadDataPager and the RadTabControl:

When adding this section to our ResourceDictionary, I get a compile error "Error 12 The type reference cannot find a public type named 'RadDataPager'":

    <Style TargetType="{x:Type telerik:RadDataPager}">
        <Setter Property="telerik:StyleManager.Theme" Value="Office_Blue"/>
    </Style>

The same goes for the RadTabControl.

This error does not occur for the rest of the telerik controls within the dictionary, which set the theme for the RadButton, RadGridView, RadExpander etc.

Kind regards,
Mike

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Apr 2011, 08:26 AM
Hello,

 Do you have reference to the Telerik.Windows.Controls.Data.dll? You can find the pager in this assembly and you can find RadTabControl in Telerik.Windows.Controls.Navigation.dll.

Regards,
Vlad
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
Mike
Top achievements
Rank 1
answered on 08 Apr 2011, 08:30 AM
Hi,

Yes, the libraries are added to the project, the application runs smoothly, everything compiles, until I add that additional section in my resourcedictionary.

Kind regards,
Mike
0
Vlad
Telerik team
answered on 08 Apr 2011, 09:05 AM
Hello Mike,

 I've tried this however everything worked fine on my end. You can check the attached application for reference. 

Greetings,
Vlad
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
Mike
Top achievements
Rank 1
answered on 08 Apr 2011, 09:31 AM
Hi Vlad,

Thanks, I found the issue, 2 sets of eyes did not see we had 1 project not referencing the DLL files :)

By the way, compliments for the swift response times!

Mike
Tags
DataPager
Asked by
Mike
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mike
Top achievements
Rank 1
Share this question
or