[Mono-list] Urgent !! HtmlInputFile set_Value: Operation not
Supported ???????
Jackson Harper
jackson@ximian.com
Fri, 19 Dec 2003 12:38:37 -0800
Hello,
This is fixed in CVS. In the future could you please follow the
bug reporting guidlines found here:
http://bugzilla.ximian.com/bug-HOWTO.html and not send messages marked
as urgent to both mono-list and mono-devel-list.
Thanks for the report,
Jackson
On Fri, 2003-12-19 at 04:28, Tiago Lima wrote:
> 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
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list