textbox in .ASP webform
-
Hey there. I am having a problem in that on my web form hitting the enter key is equal to clicking the submit button on the webform. I have a series of text boxes on the page that the use enters in transactional information and I would like the enter key to either jump to the next text box or do nothing. I know with a windows app I would use the Keypressed method, but the webform control obviously is missing this method. How do I go about fixing this anyone? Thanks.
-
Hey there. I am having a problem in that on my web form hitting the enter key is equal to clicking the submit button on the webform. I have a series of text boxes on the page that the use enters in transactional information and I would like the enter key to either jump to the next text box or do nothing. I know with a windows app I would use the Keypressed method, but the webform control obviously is missing this method. How do I go about fixing this anyone? Thanks.
One, your question belongs in the ASP.NET Forum. Two, your right. That functionality doesn't exist in a web page. You'll have to simulate it using client-side JavaScript. ASP.NET is a server-side only technology that generates HTML for a browser, nothing more. And no, I don't know exactly how to do it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
One, your question belongs in the ASP.NET Forum. Two, your right. That functionality doesn't exist in a web page. You'll have to simulate it using client-side JavaScript. ASP.NET is a server-side only technology that generates HTML for a browser, nothing more. And no, I don't know exactly how to do it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
ahh thanks I am pretty new here. I will take the question over to the ASP.NET forum. Thanks again.