Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Any VB.NET code that you write will run on the server and your problem is that you want to use a event that happens client-side (i.e. on the clients browser).maybe if I do everything by using visual basic there wouldn't be any problem