[Mono-list] Re: HtmlInputFile

Tiago Lima tiago.lima@vianw.pt
Fri, 19 Dec 2003 21:27:49 +0000


Sorry, sorry...
I thought it was a feature I didnt knew about.... :)
Ok, next time I will do that...

Thanks a lot,
	Tiago Lima

On Friday 19 December 2003 20:38, Jackson Harper wrote:
> 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.IPostBackDataHandl
> >er.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
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list