[Mono-list] TypeConverterAttribute

Dennis Boylan mono@b-lan.com
Fri, 11 Jun 2004 11:32:21 -0400


On Fri, Jun 11, 2004 at 09:32:24AM +0200, Gonzalo Paniagua Javier wrote:
> El vie, 11-06-2004 a las 04:39, Gonzalo Paniagua Javier escribió:
> > El jue, 10-06-2004 a las 21:50, Dennis Boylan escribió:
> > > I'm having an issue where the compiler is not trying to call the convert
> > > process to get the value into the correct format.
> > > 
> > > This was generated code from ASP.
> > > 
> > >          private void __BuildControl_tabIdLogout() {
> > >              Microsoft.Web.UI.WebControls.Tab __ctrl;
> > >              __ctrl = new Microsoft.Web.UI.WebControls.Tab();
> > >              this.tabIdLogout = __ctrl;
> > >              __ctrl.ID = "tabIdLogout";
> > >              __ctrl.Text = "Logout";
> > >              __ctrl.ToolTip = "Log out";
> > >              __ctrl.DefaultStyle = "background-color:SkyBlue;color:White;border-
> > > left:2px solid white;border-top:2px solid white;border-right:2px solid DarkBlue;
> > > border-bottom:2px solid DarkBlue;";
> > >          }
> > > 
> > > The DefaultStyle is of type CssCollection.  The dll does have a
> > > TypeConverterAttribute, but does not seem to be using it.
> > > 
> > > Suggestions, clues?
> > 
> > File a bug report in bugzilla.ximian.com (read
> > http://www.go-mono.com/bugs.html) with a simple test case that
> > reproduces the bug (and work on MS) and I'll fix it.
> 
> I made a test case for this (now in xsp/test/typedesc.(aspx|cs)) and
> fixed the bug in CVS.
> 
> -Gonzalo
> 
You are quick.  Before I even got a chance to create the test case you've
created one and fixed the bug!

Thanks!

I might even be able to run my application today!

- Dennis
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list