PDA

View Full Version : [CLOSED] A MenuPanel Issue



cleve
Jun 15, 2012, 2:30 PM
Hi guys, the following code:



<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<script src="/scripts/ext/coolite.js" type="text/javascript"></script>
<script src="/scripts/ext/isscontrols.js" type="text/javascript"></script>
</head>
<body id="theBody">
<ext:ResourceManager ID="theManager" runat="server" IDMode="Inherit" Theme="Default"
EnableViewState="false" DisableViewState="true" ShowWarningOnAjaxFailure="false"
ScriptMode="Debug" />
<ext:MenuPanel runat="server" Width="200" Height="400">
<Menu runat="server">
<Items>
<ext:MenuItem runat="server" Text="AAAA" />
<ext:MenuItem runat="server" Text="BBBB" />
</Items>
</Menu>
</ext:MenuPanel>
<script language="javascript" type="text/javascript">

var testFunc = function () {
}
</script>
<form runat="server" id="theForm" />
</body>
</html>
<script runat="server">

protected override void OnInit(EventArgs e)
{

}
</script>



It raises JS exception when clicking the blank area below item "BBBB". A screen shot is attached.
Any ideas?

Daniil
Jun 15, 2012, 5:34 PM
Hi,

Thanks for the report. Fixed in SVN, revision #4106.