We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Is there an asp core backend example?

I've been fiddling around with this all day and have made no progress. I'm returning an object with the following structure:

  public class FileResponse {
        public FilesystemFile Cwd { get; set; }
        public List<FilesystemFile> Files { get; set; }
        public FileError Error { get; set; }
        public FilesystemFile Details { get; set; }
    }

 public class FilesystemFile
    {
        public string Name { get; set; }
        public string DateCreated { get; set; }
        public string DateModified { get; set; }
        public string FilterPath { get; set; }
        public bool HasChild { get; set; }
        public bool IsFile { get; set; }
        public int Size { get; set; }
        public string Type { get; set; }
        public bool MultipleFiles { get; set; }
    }

But I am given the console error: 'Uncaught TypeError: Cannot read property 'code' of undefined' and the view looks like the following:



I really think you should include at least one backend example. It doesn't have to be asp, could be anything.

1 Reply

CI Christopher Issac Sunder K Syncfusion Team July 2, 2019 01:04 PM UTC

Hi Matthew, 

Greetings from Syncfusion support. 

You can download the File Manager’s local web service from this location. After launching this service, you can refer to its URL in the place of the hostUrl currently used.  
  
We have prepared a sample for your reference for accessing File Manager using local service. Please find it below,  
  
  
  
Note: Launch the File Manager service first and then run the sample.  
  
Please let us know, if you need any further assistance on this.  

Thanks,
Christo 


Loader.
Live Chat Icon For mobile
Up arrow icon