Defaultbutton in a Web VB application RRS feed

  • Question

  • <form id="form1" defaultbutton="Btn_OK" defaultfocus="Textbox_Iuserid" runat="server">
    When I used defaultbutton I have to press Enter Twice or the event to execute.  What am I doing incorrect.  This is a Web application written in VB.  Thanks for any examples.


    Monday, October 16, 2017 8:09 PM

All replies

  • Dear ecb,

    This forum is for Coded UI and web performance testing, your issue is about web application developing, and Microsoft has a particular forum for it.

    Please post your issue at VB.NET for ASP.NET forum where you'll get a quick and professional answer.

    Your understanding and cooperation will be grateful.


    Best regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Edited by Fletch Zhou Tuesday, October 17, 2017 1:59 AM
    • Proposed as answer by Fletch Zhou Wednesday, October 18, 2017 9:30 AM
    Tuesday, October 17, 2017 1:59 AM