[Mono-list] TypeConverterAttribute

Gonzalo Paniagua Javier gonzalo.reply.to.the.list.iam.subscribed@ximian.com
Fri, 11 Jun 2004 04:39:39 +0200


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.

-Gonzalo