peggasus88
Technical User
Hi everyone,
I have a simple page with one Textbox DTC, one Button DTC, and one Grid DTC. When I enter a value into the textbox and then click the button, the grid displays a record corresponding to the textbox value.
This page will be used repeatedly and for the sake of user friendliness =), I would like a way for the user to remain on the keyboard, i.e. to input the textbox value via the keyboard and then hit the 'Enter' key on the keyboard, rather than entering the textbox value via the keyboard and then moving over to the mouse to click the button.
Is there was a way to place focus on the DTC button so that the user can hit 'Enter' on the keyboard, rather than moving over to the mouse? Forms seem to automatically have this functionality. I know that the user can hit 'Tab' to place focus on the button, but despite knowing this, my gut reaction (and probably other people's) is to hit 'Enter' on the keyboard after entering the textbox value...Right now, if the keyboard cursor is inside the textbox and then I hit 'Enter' on the keyboard, the page seems to make a server round trip! And as expected, the appropriate information is not displayed in the grid. Placing focus on the button using client-side script (as suggested in another post) hasn't worked for me because when I'm inputting a value into the textbox, the button loses focus.
Any help is really appreciated.
~*Peggy*~
I have a simple page with one Textbox DTC, one Button DTC, and one Grid DTC. When I enter a value into the textbox and then click the button, the grid displays a record corresponding to the textbox value.
This page will be used repeatedly and for the sake of user friendliness =), I would like a way for the user to remain on the keyboard, i.e. to input the textbox value via the keyboard and then hit the 'Enter' key on the keyboard, rather than entering the textbox value via the keyboard and then moving over to the mouse to click the button.
Is there was a way to place focus on the DTC button so that the user can hit 'Enter' on the keyboard, rather than moving over to the mouse? Forms seem to automatically have this functionality. I know that the user can hit 'Tab' to place focus on the button, but despite knowing this, my gut reaction (and probably other people's) is to hit 'Enter' on the keyboard after entering the textbox value...Right now, if the keyboard cursor is inside the textbox and then I hit 'Enter' on the keyboard, the page seems to make a server round trip! And as expected, the appropriate information is not displayed in the grid. Placing focus on the button using client-side script (as suggested in another post) hasn't worked for me because when I'm inputting a value into the textbox, the button loses focus.
Any help is really appreciated.
~*Peggy*~