Posted on: 5/27/2012 5:19:19 AM | Views : 200

Hello
I have a ModalPopupExtender with seven TextBox and two buttom (Add and Cancel ) all is working fine. But i want to control the ENTER key.
I want when user fill a TextBox, push ENTER and curso go TO NEXT TextBox , and so on, and ONLY finish the popup when clik on "Add" or "Cancel" button .
Now when i do ENTER , i dont know where the cursor go ( dont show cursor ), and sometime the popup finish.
Can you help me please? 
here is the code:
<asp:ModalPopupExtender ID="ModalPopupExtender_new" runat="server" TargetControlID="btnShowPopupnewhide" PopupControlID="pnlpopupnew"
    CancelControlID="btnCancelAdd" BackgroundCssClass="modalBackground">
    </asp:ModalPopupExtender>
    <asp:Panel ID="pnlpopupnew" runat="server" BackColor="White" Height="452px" Width="600px"  style="display:none">
      <!--&nb ...

Go to the complete details ...