[Mono-list] Urgent !! HtmlInputFile set_Value: Operation not Supported ???????
Tiago Lima
tiago.lima@vianw.pt
Fri, 19 Dec 2003 12:28:51 +0000
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