Latest UI For WPF Release throws exception when using RadOpenFolderDialog

4 posts, 0 answers
  1. Joe
    Joe avatar
    52 posts
    Member since:
    Nov 2017

    Posted 14 Sep 2018 Link to this post

    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...?

     

     

  2. Joe
    Joe avatar
    52 posts
    Member since:
    Nov 2017

    Posted 14 Sep 2018 in reply to Joe Link to this post

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

     

        var res = dlg.ShowDialog();

  3. Joe
    Joe avatar
    52 posts
    Member since:
    Nov 2017

    Posted 14 Sep 2018 Link to this post

    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
  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    3086 posts

    Posted 17 Sep 2018 Link to this post

    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.
Back to Top