Feb 17, 2010, 5:00 AM
[CLOSED] KeyMap in Panel not working in mozilla
Hi
The following code works fine in IE8 but not in Mozilla. What am I doing wrong?
The following code works fine in IE8 but not in Mozilla. What am I doing wrong?
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1 transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
</head>
<body style="padding:30px">
<form id="form1" runat="server">
<ext:ResourceManager runat="server" ID="resourceManager1" Theme="Gray"/>
<ext:panel IDMode="Static" ID="Taskboard" runat="server" width="200" height="500" title="Title">
<KeyMap runat="server">
<ext:keybinding>
<keys>
<ext:key code="ENTER" />
</keys>
<Listeners>
<Event Handler="alert('Enter Pressed');" />
</Listeners>
</ext:keybinding>
</KeyMap>
<Items>
</Items>
</ext:panel>
</form>
</body>
</html>