System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString(); |
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration> |
Hi lorryl,
Thank you for contacting Syncfusion support.
We have validated your query in uploader component. We have already considered this was an improvement in file upload. So, the implementation changes for this improvement in the uploader component will be included in Volume 4 2018 release which is expected to be rolled out in the mid of this month (December, 2018).We appreciate your patience until then.
Thanks,
Christo
<ejs-uploader #chunkupload id='chunkfileupload' [maxFileSize]=104857600 [autoUpload]=false [asyncSettings]='path' [dropArea]='dropElement' (pausing)='onPausing($event)' (resuming)='onResuming($event)' (removing)='onFileRemove($event)'(chunkFailure)='onBeforefailure($event)' (chunkUploading)='onChunkuploading($event)'> </ejs-uploader>
|
public onChunkuploading(args: any): void {
if (args.currentRequest) {
args.currentRequest.withCredenials = true;
}
} |