Set Focus Problem
-
Hi! I have one buttons and two text boxes on a same page at two places, that means 4 text boxes and two buttons. My problem is to set focus on relative button or set tab index to buttons. When i press enter after enter both value in text boxes my focus gone to the another button which comes first in left hand side of the page. How can i set foucus to the desired button , so that when i came out from text box it automatically should go to the its next button in stead of going to another buttons, which are assosiated with other text boxes. I hope you great people can understand this problem, and help me to out of come this situation. Thanx. :) keep smilling.....b'coz smile is the shortest distance between people....
-
Hi! I have one buttons and two text boxes on a same page at two places, that means 4 text boxes and two buttons. My problem is to set focus on relative button or set tab index to buttons. When i press enter after enter both value in text boxes my focus gone to the another button which comes first in left hand side of the page. How can i set foucus to the desired button , so that when i came out from text box it automatically should go to the its next button in stead of going to another buttons, which are assosiated with other text boxes. I hope you great people can understand this problem, and help me to out of come this situation. Thanx. :) keep smilling.....b'coz smile is the shortest distance between people....
Are you talking about the tab order ? This is a property in the aspx. If you want to make controls so when you enter a certain number of chars the focus changes, you need to use jscript. Christian Graus - Microsoft MVP - C++