at host, i have upload file in web application root folder D:\aspnet-core\src\DynasysSolution.Web.Host\bin\Debug\netcoreapp3.1\UploadFile\Document\202006\1.png but how can i set url at The front page
And why there is no batchInsert methods,We bought your product for convenience ,it is a terrible experience to Look for third-party plugins to implement
Hello support team! I'm using the PrimeNG upload componet and i want to set custom parameters in formdata before upload; i'm using the events onSend or onBeforeUpoad but it does not work; So how can i do it?
below is my code:
onBeforeSend(event): void {
// tslint:disable-next-line:no-debugger
debugger;
//event.xhr.setRequestHeader('Authorization', 'Bearer ' + abp.auth.getToken());
//event.xhr.addRequestHeader('Access-Control-Allow-Origin', '*');
event.formData.append('UploadFolder', 'Customer');
//let ob = this;
}
<p-fileUpload mode="basic" [chooseLabel]="l('ChoosePicture')"
name="businessLicenseFileInput[]" [url]="uploadUrl" maxFileSize="5242880"
(onUpload)="businessLicenseOnUpload($event)"
(onSend)="onBeforeSend($event)">
</p-fileUpload>
the server code:
var files = Request.Form.Files;
string type = Request.Form["UploadFolder"];
//Check input
if (files == null)
{
throw new UserFriendlyException(L("File_Empty_Error"));
}
I used the primeNG 9.03 in my project and the primeNG removed the event onBeforeSend after version 9+;
Is there any other way to solve this problem ? thanks!
"primeicons": "^2.0.0",
"primeng": "^9.0.3",
It worked. Thank you
Hi Team, I want to know how can i decrypt the user's password, we need to send the plain password to user when the admin active the account;
Hi optixdev. My just was a typo on the configuration "appconfig.json file. I was adding a "/" at the end of the remoServicebaseUrl. What cause the client to not find the server.
Good , it resolved my question。cant add ‘/’ at the end of url
What should I do to make my website Internet Explorer compatible