[Mono-list] Differences between the Microsoft and Mono 2.0.1 Runtimes

Peter Ison pison at martlets.co.uk
Sat Dec 13 12:50:48 EST 2008


Here are the relevant lines of code from a very simple application. The
intention was to use a master page and place the footer information in a
skin file which was referenced using asp:Label and SkinID="Bottom" in the
master page.

Site1.Master
------------
<asp:Label runat="server" ID="pnlBottom" SkinID="Bottom" Font-Size="X-Small"
ToolTip="My Tooltip">
<div class="footer">This is in Site1.Master</div>
</asp:Label>

App_Theme > myTheme > Skin1.skin
--------------------------------
<asp:Label runat="server" Font-Bold="true" Font-size="X-Large"
SkinID="Bottom">
<div class="footer">This is Skin1.skin</div>
</asp:Label>

App_Theme > myTheme > Stylesheet1.css
-------------------------------------
.footer
{
    height:117px;
    color:Navy;
}

The above program gave a significant difference between Visual Web Developer
2008 and Mono (on Linux CentOS 4.7 and openSUSE 11.0): 

VWD 2008: The text in the footer was "This is the Skin1.skin" taken from the
skin file.
Mono: The text in the footer was "This is the Site1.Master" taken from the
master page.

In all other respects the behaviour was the same between VWD 2008 and Mono
with the contents of the skin file taking precendence where there was a
clash.

Can anyone tell me what the standard behaviour should be according to the
specifications? Is there any way of forcing Mono to behave in the same way
as Visual Web Developer?
-- 
View this message in context: http://www.nabble.com/Differences-between-the-Microsoft-and-Mono-2.0.1-Runtimes-tp20992645p20992645.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list