The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I would like to have a menu item open a document in whatever editor windows has set for it. When I click on a BarItem, I have a file path I want to give it and it open the file in the default editor. Do the syncfusion controls have a parameter or something I can pass it to allow me to do so?
ADAdministrator Syncfusion Team October 22, 2004 01:30 PM
Hi Josh,
I am not sure if I understand your requirements correctly. I assume that you would like to open files in windows by giving the path. You can do that by
1) Getting the path using the OpenFileDialog.
2) Open the file
System.Diagnostics.Process.Start("Path");
This will open the file using the application that is registered with windows.
Best regards,
Stephen.
>I would like to have a menu item open a document in whatever editor windows has set for it. When I click on a BarItem, I have a file path I want to give it and it open the file in the default editor. Do the syncfusion controls have a parameter or something I can pass it to allow me to do so?