[Mono-devel-list] Urgent !! HtmlInputFile set_Value: Operation not Supported ???????

Tiago Lima tiago.lima at vianw.pt
Fri Dec 19 07:28:51 EST 2003


I am using the HtmlInputFile and it does not work ! When I post back it 

System.NotSupportedException: Operation is not supported
in <0x0002a> System.Web.UI.HtmlControls.HtmlInputFile:set_Value (string)
in <0x00033> 
in <0x002fb> System.Web.UI.Page:ProcessPostData 
in <0x000cd> System.Web.UI.Page:InternalProcessRequest ()
in <0x0007a> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x00191> .ExecuteHandlerState:Execute ()
in <0x0007d> .StateMachine:ExecuteState 

What is this code in HtmlInputFile ?????

#if NET_1_1
		[Browsable (false)]
		public override string Value {
			get {
				HttpPostedFile file = PostedFile;
				if (file == null)
					return "";

				return file.FileName;

			set {
				throw new NotSupportedException (); /// <<< WHAT ???

Does it mean that the operation is not supported in NET1.1 or it is just a 
NotImplemented stuff ??? What do I do ?
Please help...

	Tiago Lima

More information about the Mono-devel-list mailing list