Uploading files is disrupted.
The folowing code, that works perfect on 3.5, now is now calling U_Uploaded procedure anymore. The “upload file” dialog appears, I choose file, but nothing else.
private void frmAnalizaPDF_Load(object sender, EventArgs e)
{
u.Uploaded += U_Uploaded;
u.AllowMultipleFiles = false;
u.AllowedFileTypes = “.pdf”;
u.Visible = false;//initial trebuie sa fie true, altfel nu se creaza controlul in browser!!!
cmdUploadPDF.AddClientEventListener(“execute”, “this.getParent().u.upload()”);//works on any browser
}
private void U_Uploaded(object sender, UploadedEventArgs e)
{
….
}
Hi Frank. You are correct, I am using an invisible Upload control (initial visible to be loaded in browser, made invisible after) and triggering it from a button.
After I installed Visual Studio 2026 and Wisej4 extension, it’s working everything. Strange that the same code build and run from VS 2022 trigger the upload control but it’s never calling the uploaded event. Bu again, my VS2022 environment has glitches with Wisej 4 (wisej 3.5 works perfect).
Works perfectly fine for me.
Hi Adrian,
are you using an invisible Upload control and triggering it from a button or what is cmdUploadPDF in your code?
Please provide a test case that shows what you are trying.
TIA
Frank
Please login first to submit.
