Jan 06, 2009, 1:32 PM
[FIXED] [V0.8.0] Mono: System.Web.UI.CssClassPropertyAttribute Cannot Be Loaded
On Mono 2.0.1, placing the following code into a page renders an error 500.
The error is Could not load type 'System.Web.UI.CssClassPropertyAttribute' from assembly 'Coolite.Ext.Web'.
The error is Could not load type 'System.Web.UI.CssClassPropertyAttribute' from assembly 'Coolite.Ext.Web'.
<%@ Page Language="C#" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-us">
<head runat="server">
<style type="text/css">
.tip-target {
width: 120px;
height: 40px;
text-align:center;
padding: 5px 0;
border:1px dotted #99bbe8;
background:#dfe8f6;
color: #15428b;
cursor:default;
margin:10px;
font:bold 11px tahoma,arial,sans-serif;
float:left;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id="main">
<ext:ScriptManager id="scriptmanager1" runat="server" />
<div id="track-tip" class="tip-target">Track Mouse
<ext:ToolTip
runat="server"
Target="track-tip"
Html="This tip will follow the mouse while it is over the element"
Title="Mouse Track"
Width="200"
TrackMouse="true" />
</form>
</body>
</html>