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 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.
