Hi ,
I was wondering if its possible to set a default button in asp to be precise what i want is that if the user hits enter button anywhere on the page this default button click event should take place
Thanks.
--King
ASP is a server side script...if you something like default button or user click events you need to use client side scripts...like Javascript or VBScript
More precisely he meant that ASP doesn't really have much of anything to do with client-side button events and etc. I would suggest looking into the TabIndex attribute which may possibly handle this or look into using a form (I can't remember if enter clicks the submit button or just acts like a Submit() but ether way you can capture it in client-side script).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.