[Mono-dev] [ASP.NET PATCH] Style and TreeView MS.NET compatibility fixes

Marek Habersack grendel at caudium.net
Fri Jul 28 07:28:46 EDT 2006


Hello,

  Attached you will find two patches that fix compatibility issues with the
classes mentioned in the subject.

  The first patch, TreeView.cs.diff
(http://bugzilla.ximian.com/show_bug.cgi?id=77551) adds support for node images
and changes the way the control generates CSS for the nodes. Current Mono
implementation generates inline style attributes, while MS.NET and the proposed
patch do it in the page header by emitting a style tag with the CSS classes. The
functionality falls back to the old way of generating inline style should the
header in the page be missing/inaccessible.

  The second patch, Style.cs.diff
(http://bugzilla.ximian.com/show_bug.cgi?id=78968), changes the way the FontInfo
is renderd by the Style class. MS.NET renders the text-decoration: none element
if none of Underline, Overline or Strikeout properties are set.

Together, the patches make this sample:
http://asp.net/QuickStart/aspnet/samples/ctrlref/navigation/TreeView/treeview06_levels_cs.aspx
render nearly the same under Mono as under MS.NET.

Please review the diffs and apply to the svn tree if they are accepted,

thanks :)

best regards,

marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Style.cs.diff
Type: text/x-patch
Size: 745 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060728/aa355917/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TreeView.cs.diff
Type: text/x-patch
Size: 7330 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060728/aa355917/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060728/aa355917/attachment-0002.bin 


More information about the Mono-devel-list mailing list