title: Button click and virtual keyboard enter key Windows Phone 8
body: <p>I am developing an app for windows phone. I have a login screen where the user must enter his username and click the LOGIN button in the UI or the enter key in the virtual keyboard of the phone. I capture both the events separately. LOGIN button has a 'Click' event which logs the user in and there is a 'KeyDown' event for the enter key in the virtual keyboard which has the same code as that of the Click event. The events work fine. It logs the user in once the login button or the enter key is pressed. <strong>But only when the login button or the enter key is pressed twice.</strong>  The event gets captured in the first click (I saw the page being refreshed) but only the second click takes the user into the application. Any possible ideas to come out of this issue? 
  Earlier I did not have the LOGIN button, only used the enter key in virtual keyboard and things were working fine in the first click</p>
  
  <p>Regards
  Karthik</p>