FileUpload and PlaceHolders don't mix in ASP.NET?
Posted on 2007-03-22
Right, here's a weird one.
I have a single aspx page that manages news articles on a site. There are three PlaceHolders in the script, each of which contains a server-side form. Two of these forms contains a FileUpload control. Except only one of the FileUpload controls works, the other one always shows 'False' for the HasFile property. If I reposition the placeholders, I find that the placeholder that appears last in the aspx file, always works, the one above doesn't.
I'm done with pulling my hair on what feels like the millionth weird thing to occur in ASP.NET. Anyone had similar problem and solved it?