Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2254
WebTextEdit crazy PostBack when press Enter key is pressed inside the control??
posted

Hello,

I have a simple web form with just one  WebTextEdit control on it. When the 'Enter' key is pressed inside the WebTextEdit control, the entire web form posts back.

However if I put two WebTextEdit controls on the web form, when  the Enter key is pressed inside a WebTextEdit control, the web form doesn't postback anymore ??

That's crazy !

I use Infragistics WebDataInput Version=7.3.20073.1049

Any help is highly appreciated. Please look at the web form, it's very simple:

<%@ Register Assembly="Infragistics2.WebUI.WebDataInput.v7.3, Version=7.3.20073.1049, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.WebDataInput" TagPrefix="igtxt" %>
 
 
<html>
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <igtxt:webtextedit id="WebTextEdit1" runat="server" style="z-index: 100; left: 64px;
            position: absolute; top: 56px"></igtxt:webtextedit>
    
            <%--uncomment the control below and the web form won't Postback anymore when Enter key is pressed ?? --%>   
            <%-- <igtxt:webtextedit id="WebTextEdit2" runat="server" style="z-index: 100; left: 64px;
                          position: absolute; top: 156px"></igtxt:webtextedit>--%>
 
 
    </div>
    </form>
</body>

</html>

Parents Reply Children
No Data