Could not render filemanager, couldnot find ajaxsetting in filemanager


Could not render the filemanager as shown in the github example video was able to run but it only shows this one text line how to display the demo page please help.



1 Reply

IL Indhumathy Loganathan Syncfusion Team April 22, 2022 09:47 AM UTC

Hi Dank ,


Greetings from Syncfusion support.


We suspect that the reported issue occurs due to the CORS policy. Kindly add the below configuration setting in the Web.config file of the ASP.MVC File provider.


<system.webServer>

<httpProtocol>

    <customHeaders>

    <add name="Access-Control-Allow-Origin" value="*" />

    <add name="Access-Control-Allow-Headers" value="Content-Type" />

    <add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />

    </customHeaders>

</httpProtocol>

...

</system.webServer>


We have attached a sample with a modified service provider for your reference.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/AspNetMvcApplication1067128412.zip


Service provider : https://www.syncfusion.com/downloads/support/directtrac/general/ze/ej2-azure-aspmvc-file-provider1661579572.zip


Run the service provider first, then run the sample. Please check the suggested steps at your end and get back to us if you need any further assistance.


Regards,

Indhumathy L


Loader.
Up arrow icon