[Mono-bugs] [Bug 76377][Wis] New - HtmlInputFile.PostedFile is null
on post back
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Oct 8 17:59:28 EDT 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by bugzilla at jschlesinger.net.
http://bugzilla.ximian.com/show_bug.cgi?id=76377
--- shadow/76377 2005-10-08 17:59:28.000000000 -0400
+++ shadow/76377.tmp.13050 2005-10-08 17:59:28.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 76377
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com
+ReportedBy: bugzilla at jschlesinger.net
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: HtmlInputFile.PostedFile is null on post back
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When using the HtmlInputFile control, the PostedFile property is null when
+posted back to the server.
+
+Steps to reproduce the problem:
+1. Add a HtmlInputFile(i.e. File1) to web form and set to runas=server
+2. Add a button for post back
+3. Register buttons onclick event and write code to check value of
+File1.PostedFile
+4. Run the form in a browser, use browse and select a file to load in the
+control
+5. Click the button to post back
+
+Actual Results:
+File1.PostedFile = null
+
+Expected Results:
+File1.PostedFile should be an instantiated HttpPostedFile class containing
+the data for the file selected in the control.
+
+How often does this happen?
+Everytime
+
+Additional Information:
More information about the mono-bugs
mailing list