Pedro Santos wrote:
>> Please don't use pastebin for mailing list posts, as those
>> pastes usually expire too soon to be useful for other
>> people looking for the same problem in the future.
> 
> Yes, you're right, didn't think of that.
> 
> BTW, I commented the following line:
> 
> text.CssClass = CssClass;
> 
> On my Render method, and the exception isn't thrown.

This is already fixed in SVN and Mono 2.4 which will be
released soon. If you don't assign null to the Control.CssClass
property, your code will work with all mono versions:

if (CssClass != null) text.CssClass = CssClass;

> 
> Here's the code:

Thanks :)

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to