Adrian Zagar asked 2026-01-22 14:33:30 UTC
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)
{
....
}
Adrian Zagar asked 2026-01-22 14:33:30 UTC
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)
{
....
}