title: Focus on textbox with property TextMode="MultiLine" for enter key press
body: <p>In a ASP website i want to navigate between textbox using enter keys so that when i press enter key the focus should go for next textbox.</p>
  
  <p>What I did is in asptextbox used onkeypress function as shown below</p>
  
  <pre><code>&lt;asp:TextBox ID="Textbox1" runat="server" onkeypress="return EnterEvent(event);"&gt;&lt;/asp:TextBox&gt;
  </code></pre>
  
  <p>And in javascript 
      </p>
  
  <pre><code>          function EnterEvent(e) {
  
                if (e.keyCode == 13) {
                    document.getElementById("Textbox2").focus();
                    }
                }          
  &lt;/script&gt;
  </code></pre>
  
  <p>It works fine. But in case Textbox2 is a multiline textbox(if i use TextMode="MultiLine" for a asp textbox) then focus will be placed on Textbox2 but it will be placed one extra line below in textbox(focus placed in 2 nd line of multiline textbox). How it can be solved?</p>