RadOpenFileDialog not inheriting the theme

3 posts, 1 answers
  1. Jacob
    Jacob avatar
    11 posts
    Member since:
    Feb 2015

    Posted 16 May 2019 Link to this post

    Hi,

    I'm using the latest Telerik assemblies (2019.2.508.40) and when I utilize the new RadOpenFileDialog it doesn't seem to capture the theme on the form (when executing ShowDialog()). It opens with the normal RadForm look (blue). My theme set on the form is Fluent. I checked the properties on the RadOpenFileDialog, but am not seeing a ThemeName property.

     

    RadOpenFileDialog openFileDialog = new RadOpenFileDialog();
    DialogResult result = openFileDialog.ShowDialog();

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    2931 posts

    Posted 17 May 2019 Link to this post

    Hi Jacob,

    You can use the following approach for this:
    openFileDialog.OpenFileDialogForm.ThemeName = "Fluent";

    I hope this will be useful. Let me know if you have additional questions.

    Regards,
    Dimitar
    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.
  3. Jacob
    Jacob avatar
    11 posts
    Member since:
    Feb 2015

    Posted 19 May 2019 in reply to Dimitar Link to this post

    Thanks that worked.
Back to Top