19
Jun
stored in: ASP.NET and tagged:
If you’re using Microsoft ASP.NET AjaxToolkit’s AsyncFileUpload placed inside a webform nested in a master page, chances are you’ll be faced with a baffling error message “The file attached is invalid”. No amount of manual troubleshooting and breakpoint-ing help because there’s no complete error messages (or even any that makes sense).
The reason: The client side script got confused because it couldn’t find the predicted ClientID.
The solution: Add ClientIDMode=”AutoID” to your markup!
July 26th, 2010 at 1:47 pm
…which works like a charm, except that I then want to reference that control and I don’t know what the ID is.
October 31st, 2010 at 10:16 am
hii..thnx 4 ur post…!! it realy works..!!
February 6th, 2011 at 8:09 pm
Hi,
Bro it really works.
Thanks a lot.
August 14th, 2011 at 7:20 pm
Thanks bro! Worked like a charm!
October 19th, 2011 at 2:59 pm
Thanks a lot