Nov 05, 2012, 7:22 PM
[CLOSED] Window with textfield is posting on enter
Howdy,
When I press enter In any textfield in a ext window, it is posting (round-trip, refreshing) the whole page.
Steps to reproduce:
EDIT--
I see this is html normal behavior because of the form... I will see what I need to do to solve this. This is a not ext.net or extjs thing.
THANKS
When I press enter In any textfield in a ext window, it is posting (round-trip, refreshing) the whole page.
Steps to reproduce:
- Place cursor on the textfield;
- Press enter.
EDIT--
I see this is html normal behavior because of the form... I will see what I need to do to solve this. This is a not ext.net or extjs thing.
THANKS
<%@ 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 runat="server">
<title>Basic Hello World Window - Ext.NET Examples</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:Window ID="Window1" runat="server">
<Items>
<ext:TextField runat="server" />
</Items>
</ext:Window>
</form>
</body>
</html>
Last edited by geoffrey.mcgill; Nov 05, 2012 at 8:30 PM.
Reason: [CLOSED]