Every time I open the RadOpenFiledialog -- whether it be directly or indirectly via the RadFilePathPicker -- The dialog shows files in explorer's "Small Icons" view. I have to manually change it to "Details" view.
How can I set this in code when I am opening the dialog?
1 Answer, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 30 Sep 2020, 05:28 AM
Hello Joe,
To achieve your requirement, you can set the InitialSelectedLayout property of the dialog to Details.
When using the RadFilePathPicker control, you can get the shown dialog via the DialogOpening event. In the handler, you can get the dialog via the Dialog property of the arguments, and set its initial layout.
I hope this helps. If you have other questions, please let me know.
Regards,
Martin Ivanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.