Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
Free Tools
Support and Learning
Productivity and Design Tools
How can I find out the selected layout (list, small icon, etc.) chosen by the user at the point the dialog is closed?
Thanks
Steve
Hello, Steve,
You can use the following code snippet to get the last selected layout in RadOpenFileDialog:
(openFileDialog.OpenFileDialogForm as RadForm).FormClosed += this.RadForm1_FormClosed; private void RadForm1_FormClosed(object sender, FormClosedEventArgs e) { LayoutType layout = (sender as RadOpenFileDialogForm).OpenFileDialogViewModel.SelectedLayout.LayoutType; }
I hope this helps. Should you have any other questions do not hesitate to ask.
Regards, Nadya Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.