[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


Hi,

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

System.NotSupportedException: Operation is not supported
in <0x0002a> System.Web.UI.HtmlControls.HtmlInputFile:set_Value (string)
in <0x00033> 
System.Web.UI.HtmlControls.HtmlInputFile:System.Web.UI.IPostBackDataHandler.LoadPostData 
(string,System.Collections.Specialized.NameValueCollection)
in <0x002fb> System.Web.UI.Page:ProcessPostData 
(System.Collections.Specialized.NameValueCollection,bool)
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 
(System.Web.HttpApplication/IStateHandler,bool&)

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 ???
			}
		}
#endif

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

Thanks,
	Tiago Lima




More information about the Mono-devel-list mailing list