GlyphSearchStop

1 Answer 22 Views
Report Viewer - WPF
Bradley
Top achievements
Rank 2
Iron
Iron
Iron
Bradley asked on 26 Mar 2025, 11:19 PM

I have a report viewer in my WPF app that's working like a charm except that when I click the "Search" icon I encounter an uncatchable "System.Windows.Markup.XamlParseException" exception - I can only catch it as an unhandled exception.  The main exception says "Provide value on 'System.Windows.StaticResourceExtension' threw an exception."  The inner exception says "Cannot find resource named 'GlyphSearchStop'. Resource names are case sensitive.".  I've searched through "C:\Program Files (x86)\Progress\Telerik UI for WPF 2025 Q1" and can find no reference to anything called "GlyphSearchStop".

Any help would be much appreciated!

Thanks!

1 Answer, 1 is accepted

Sort by
1
Petar
Telerik team
answered on 31 Mar 2025, 12:42 PM

Hi Bradley,

We have encountered similar cases in the past when the viewer's resources were merged at the viewer level instead of the window level. It's important to note that the search window of the viewer functions as a standalone WPF window (more on that here). As a result, it will look for resources at the window level or higher.

To resolve the issue, could you please try to move the theme resources merge to a window level or higher (for example, application level)?

For a working sample application, you may take a look at our example projects, located by default at the following path:

C:\Program Files (x86)\Progress\Telerik Reporting <REPORTING_VERSION>\Examples\CSharp

There, the theme resources are merged at the application level:

    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Telerik.ReportViewer.Wpf.Themes;component/Themes/Fluent/System.Windows.xaml" />
                <ResourceDictionary Source="/Telerik.ReportViewer.Wpf.Themes;component/Themes/Fluent/Telerik.Windows.Controls.xaml" />
                <ResourceDictionary Source="/Telerik.ReportViewer.Wpf.Themes;component/Themes/Fluent/Telerik.Windows.Controls.Input.xaml" />
                <ResourceDictionary Source="/Telerik.ReportViewer.Wpf.Themes;component/Themes/Fluent/Telerik.Windows.Controls.Navigation.xaml" />
                <ResourceDictionary Source="/Telerik.ReportViewer.Wpf.Themes;component/Themes/Fluent/Telerik.ReportViewer.Wpf.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>

I hope this helps. Please let me know if you need any further assistance with this matter.

Regards,
Petar
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Bradley
Top achievements
Rank 2
Iron
Iron
Iron
commented on 08 Apr 2025, 01:48 AM

Yes, moving the resource dictionary up worked.  It caused me some grief, since that seemed to mess everything else up, but I eventually got it sorted out. :)

Thanks!

Tags
Report Viewer - WPF
Asked by
Bradley
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Petar
Telerik team
Share this question
or