Browse for Local Directory or File in Maui Blazor Hybrid

Hello,

I'm creating a Blazor Maui Hybrid App and using your FileManager control.

I have two buttons: btnSaveCurrentJob and btnLoadJob.

I want to create a 'Windows Explorer-like' Dialog which will do the following actions:

1) Upon btnSaveCurrentJob event, allow the user to select a Folder on their computer and a name for their file to be saved as.

-- This will create an event that gives me the new filename and folder location where I can use standard .NET tools to perform the save.

2) Upon btnLoadJob event, allow user to select a file on their computer to load.

-- This will create an event that gives me the filepath which I can use standard .NET tools to perform the load and populate the UI.


Thank you!



6 Replies

LD LeoLavanya Dhanaraj Syncfusion Team July 11, 2023 01:41 PM UTC

Hi Craig,


Greetings from Syncfusion support.


Based on the details you shared, we understand that you want to perform file and folder upload actions in the Blazor FileManager component. In response to your request, we have prepared the FileManager sample with the Physical file provider in the latest version. In this sample, you can select the upload dropdown in the Toolbar and choose either a folder or files to upload your files/folders.


Please check the attached sample, video at your end and get back to us if you need any further assistance.


Regards,

Leo Lavanya Dhanaraj


Attachment: FileManagerUpload_fe121696.zip


CM Craig Mynatt July 12, 2023 06:42 PM UTC

Excellent, thank you very much.



BD Boot Dat replied to LeoLavanya Dhanaraj November 30, 2023 07:50 PM UTC

Can you assist with file picker with save url and delete url for Maui blazor ?



PM Prasanth Madhaiyan Syncfusion Team December 12, 2023 11:18 AM UTC

Hi Boot,


Based on the details you provided, we were unclear about your exact requirements, specifically whether you are using the Blazor FileManager component or the FileUpload component at your end. For your reference, we have attached the demo and documentation of both the FileManager and FileUpload components.


FileManager demo: https://blazor.syncfusion.com/demos/file-manager/overview?theme=fluent


FileManager documentation: https://blazor.syncfusion.com/documentation/file-manager/getting-started-with-web-app


FileUpload demo: https://blazor.syncfusion.com/demos/file-upload/default-functionalities?theme=fluent


FileUpload documentation: https://blazor.syncfusion.com/documentation/file-upload/async#with-server-side-api-endpoint


Could you please confirm which component you are using at your end? Based on that information, we will check and provide you with a prompt solution. Kindly get back to us with the requested details.


Regards,

Prasanth Madhaiyan.



BD Boot Dat replied to Prasanth Madhaiyan January 5, 2024 12:25 PM UTC

Hi, sorry, I was asking for FileUpload in Mai blazor hybrid. 
My issue is that all media on the device (android) are grayed out when using the file upload component so I cant get to select any file.. 



PM Prasanth Madhaiyan Syncfusion Team January 8, 2024 11:38 AM UTC

Hi Boot Dat,


For the Blazor FileUpload-related query, you can find the updated details in the below forum.


https://forumassist.syncfusion.com/185656


Regards,

Prasanth Madhaiyan.


Loader.
Up arrow icon