Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150626 | Jan 14,2020 04:54 AM UTC | Jan 15,2020 04:03 PM UTC | Angular - EJ 2 | 1 |
![]() |
Tags: Uploader |
<ejs-uploader #defaultupload id='defaultfileupload' [asyncSettings]='path' multiple=true [dropArea]='dropElement'></ejs-uploader> |
var httpPostedFile = System.Web.HttpContext.Current.Request.Files["UploadFiles"];
if (httpPostedFile != null)
{
byte[] fileBytes;
using (BinaryReader br = new BinaryReader(httpPostedFile.InputStream))
{
fileBytes = br.ReadBytes((int)httpPostedFile.InputStream.Length);
// bytes will be stored in variable fileBytes
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.