Perform Button click event when user press Enter key in Textbox

后端 未结 7 1365
情书的邮戳
情书的邮戳 2020-12-01 07:19


&         


        
7条回答
  •  春和景丽
    2020-12-01 08:08

    in the html code only, add a panel that contains the page's controls. Inside the panel, add a line DefaultButton = "buttonNameThatClicksAtEnter". See the example below, there should be nothing else required.

     //add this!
      //here goes all the page controls and the trigger button
        
        
     //and this too!
    

提交回复
热议问题