[Mono-list] TypeConverterAttribute

Dennis Boylan mono@b-lan.com
Thu, 10 Jun 2004 15:50:32 -0400

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?

- Dennis