This is a migrated thread and some comments may be shown as answers.

Need fileselect process files locally example

2 Answers 89 Views
FileSelect
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 01 Jun 2020, 02:29 PM

I see this is online help:

 

https://www.telerik.com/kendo-angular-ui/components/uploads/upload/how-to/local-file-processing/

 

As of version 5.2.0 the Kendo UI Upload for Angular features a built-in FileSelect component. You could use this component instead of the approach suggested in the article below.

 

But I do not see an example of how to do this with fileselect?

 

Can you please provide an example or point me to the documentation that describes it in detail?

2 Answers, 1 is accepted

Sort by
0
Preslava
Telerik team
answered on 02 Jun 2020, 03:19 PM

Hello Steven,

The FileSelect component makes it possible to process files locally without actually uploading them on a server. The article mentioned, was created before the FileSelect was released and is showing a way to simulate a server response with the help of the Interceptor. 

Since the FileSelect is already released, it is recommended to use it for local processing of files, instead of the Upload with the Interceptor. 

Here is an example, demonstrating the same as the linked documentation article, but using the FileSelect instead of the Upload component:

https://stackblitz.com/edit/angular-d4eyxv?file=app%2Fapp.component.ts

I hope this helps. Let me know should there be further questions.

Regards,
Preslava
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Steven
Top achievements
Rank 1
answered on 02 Jun 2020, 03:24 PM

Awesome,, so no interceptor needed,, that's what had me confused a bit!

 

Thanks!

Tags
FileSelect
Asked by
Steven
Top achievements
Rank 1
Answers by
Preslava
Telerik team
Steven
Top achievements
Rank 1
Share this question
or