Issue with RadExpanderStyle Resource in Telerik WinUI RadMap

1 Answer 12 Views
Map
ibra
Top achievements
Rank 1
ibra asked on 14 Jun 2024, 01:39 AM

Hi Telerik Support Team,

I am encountering an issue with my WinUI project while using the Telerik RadMap control. Specifically, I am receiving the following error:

"Cannot find a Resource With Name/Key RadExpanderStyle."

1 Answer, 1 is accepted

Sort by
0
Accepted
Stenly
Telerik team
answered on 18 Jun 2024, 12:35 PM

Hello Ibra,

In order for the RadMap control to be visualized without raising the exception that you shared, merge the Generic.xaml resource dictionary in the Resources collection of the App.xaml file as shown below:

<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
            <ResourceDictionary Source="ms-appx:///Telerik.WinUI.Controls/Themes/Generic.xaml"/>
            <!-- Other merged dictionaries here -->
        </ResourceDictionary.MergedDictionaries>
        <!-- Other app resources here -->
    </ResourceDictionary>
</Application.Resources>

I hope the provided information will be of help to you.

Regards,
Stenly
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Map
Asked by
ibra
Top achievements
Rank 1
Answers by
Stenly
Telerik team
Share this question
or