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

Latest UI For WPF Release throws exception when using RadOpenFolderDialog

3 Answers 51 Views
Window
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
Joe asked on 14 Sep 2018, 07:54 PM

I just upgraded to the latest release of UI for WPF (2018.3.blah blah).  So far everything has been working fine.  But today I invoked a bit of my code that uses RadOpenFolderDialog.  The code is pretty simple:

 

            var dlg = new RadOpenFolderDialog
            {
                InitialDirectory = Settings.LibraryFolder,
                Multiselect = false,
            };

 

(I have verified the "Settings.LibraryFolder" points to a valid, existing folder at the time this function is called)

 

It then throws an exception.  The outer exception message is this:

    "Provide value on 'System.Windows.Markup.StaticResourceHolder' threw an exception."

 

The inner exception message is this:

    "Cannot find resource named 'BreadCrumbBarItemCustomStyle'.  Resource names are case sensitive"

 

I do not now, nor have I ever had a resource of that name so I have to assume this is something inside the Telerik release that was inadvertently removed.  Can you help me?

I don't know if it is relevant but early on in my app I use the StyleManager to set an application theme

 

            StyleManager.ApplicationTheme = new Windows8TouchTheme();

Also I am *NOT* using the "NoXaml" approach

 

Help...?

 

 

3 Answers, 1 is accepted

Sort by
0
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 14 Sep 2018, 07:55 PM

I should also say that the exception actually happens on the next line when I try to invoke the dialog:

 

    var res = dlg.ShowDialog();

0
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 14 Sep 2018, 08:05 PM
Sorry to post so much but I just realized I should have placed this question in the "FileDialogs" subforum.  I have done that now

https://www.telerik.com/forums/latest-ui-for-wpf-release-throws-exception-when-using-radopenfolderdialog-2bb1b1fac701
0
Petar Mladenov
Telerik team
answered on 17 Sep 2018, 02:22 PM
Hello,

We have answered in the FileDialogs forum. This is a regression in FileDialogs which will be fixed in the next week's internal build.

https://www.telerik.com/forums/latest-ui-for-wpf-release-throws-exception-when-using-radopenfolderdialog-2bb1b1fac701

Regards,
Petar Mladenov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Window
Asked by
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
Petar Mladenov
Telerik team
Share this question
or