Hi Guys, I need an example asp net core .net 8 File manager example that can be used in razor pages, I have tried examples and cannot get to work, i need example that call web api in my project, i have two projects in my solution one is regular razor app and other is web api project, could you supple example that works with web api and other that uses controller.
Regards
Edmund Herbert
Hi Edmund,
Greetings from Syncfusion,
We understand that your requirement is to have ASP.NET Core File Manager sample and a separate service provider as a web api sample. We have prepared a .Net 8.0 sample to meet your requirement, Refer the code changes below,
|
<ejs-filemanager id="filemanager"> <e-filemanager-ajaxsettings url=http://localhost:62869/api/FileManager/FileOperations downloadUrl=http://localhost:62869/api/FileManager/Download uploadUrl=http://localhost:62869/api/FileManager/Upload getImageUrl=http://localhost:62869/api/FileManager/GetImage> </e-filemanager-ajaxsettings> <e-filemanager-toolbarsettings items="items"> </e-filemanager-toolbarsettings> <e-filemanager-contextmenusettings layout="layout"> </e-filemanager-contextmenusettings> </ejs-filemanager> |
However, we are unclear about what provider you are currently looking for. So, we have attached the physical provider with File Manager sample for your reference,
Sample: Attached as zip file
Service: Attached as zip file
You can refer the below documentation to know about other providers,
Documentation: https://ej2.syncfusion.com/aspnetcore/documentation/file-manager/file-system-provider#aspnet-core-file-system-provider
It is important to note that you have to run the service provider first to work on the shared File Manager sample. After running the project, it will be hosted in
http://localhost:{port} and just mapping the ajaxSettings property of the FileManager component to the appropriate controller methods allows to manage the files in the provider. We have made this necessary changes in the attached sample itself.
Kindly try out the shared details and get back to us if you need further assistance.
Regards,
Jafar
Hey everyone,
Can anyone share a sample project using the Syncfusion Grid control? I’m encountering a strange issue where the grid is not visible on the page, even though I’ve followed all the steps in the documentation correctly. Any help or guidance would be greatly appreciated!
Thanks in advance!
Hi Shankar,
According to the provided information, it has been observed that you are encountering difficulties with rendering the Syncfusion Grid component. This issue persists even though you have followed the documented instructions. To address this, we recommend verifying the following aspects:
• ensure that all necessary packages are correctly installed,
• confirm that the styles are properly referenced,
• and check that the tag helpers are appropriately registered within your project.
For additional guidance and a practical example, we have included a sample project that demonstrates the implementation of the Syncfusion Grid. This sample project should serve as a valuable reference to help you resolve the rendering issues you are facing.
Documentation Link: https://ej2.syncfusion.com/aspnetcore/documentation/grid/getting-started-core
If the issue persists, kindly provide a simple sample that replicates the problem, or attempt to reproduce the issue using the attached sample.
Regards
Aishwarya R