[CLOSED] Window with textfield is posting on enter

  1. #1

    [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:
    1. Place cursor on the textfield;
    2. 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]
  2. #2
    Please, close this thread.

    This is how I solved it:

    http://stackoverflow.com/questions/1...ubmit-on-enter

    THANKS

Similar Threads

  1. Replies: 4
    Last Post: Oct 10, 2011, 4:28 PM
  2. Posting a value via JavaScript
    By Edward in forum 1.x Help
    Replies: 2
    Last Post: Sep 10, 2010, 10:26 PM
  3. [CLOSED] TextField SpecialKey Submit and Enter/Backspace
    By macap in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Apr 28, 2010, 4:20 PM
  4. Replies: 2
    Last Post: Feb 01, 2010, 1:00 PM
  5. Replies: 1
    Last Post: Apr 01, 2009, 12:24 PM

Posting Permissions