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

Apply Theme to Open Folder Dialog

4 Answers 336 Views
Form
This is a migrated thread and some comments may be shown as answers.
Rostislaw
Top achievements
Rank 1
Rostislaw asked on 09 Sep 2019, 03:28 PM

Hi *,

I follow the docs and use

<p>InitializeComponent();</p> <p>ThemeResolutionService.ApplicationThemeName = "CrystalDark";   </p>

 

Unfortunately my open file Dialog does not accept the theme I set for the application.

Questions:

- is this a right way to set app theme in the ctor of main window (after Initialize component of Course)?

- I would like to use a new folder select dialog by Rad Browse Editor. How to do this?

Thanks a lot

Rostislaw

4 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 10 Sep 2019, 11:11 AM

Hello Rostislaw,

Yes, this is the recommended way to se the theme. I have tested this and it works on my side. For convenience, I prepared a small sample, based on the information that you provided so far and attached it to this thread. 

I am looking forward to your reply.

Regards,
Dimitar
Progress Telerik

Could you please check it and let me know how it differs from your real setup? 

Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Rostislaw
Top achievements
Rank 1
answered on 10 Sep 2019, 11:43 AM

Dimitar,

 

thx a lot for the example - indeed, this works as you expected BUT:

I use the open folder dialog with browse editor together (please see the 2. part of my original question).

And in this case this does not work as I would expect.

I attached a modified project so you can easy see the problem.

Notice the open folder dialog is different for the browse editor and the button calls.
I would like to have the second one (new) in a combination with a browse editor and theme.

 

Thank you, looking for your replay

Rostislaw

 

PS: this is a reason why I like telerik - the software is complex and not easy to use but the support people are excellent

0
Rostislaw
Top achievements
Rank 1
answered on 10 Sep 2019, 11:46 AM
attached
0
Dimitar
Telerik team
answered on 10 Sep 2019, 01:50 PM

Hello Rostislaw,

I understand now. Currently, the browse editor is using the standard dialogs and they cannot be used with our themes. I have logged a feature request for this in our Feedback Portal. You can track its progress, subscribe to status changes and add your comment to it here. I have also updated your Telerik Points.

Until this is implemented I can suggest using RadButtonTextBox and manually show the dialog. 

Should you have any other questions, do not hesitate to ask.

Regards,
Dimitar
Progress Telerik

Get quickly onboard 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
Form
Asked by
Rostislaw
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Rostislaw
Top achievements
Rank 1
Share this question
or