I have a custom page that has 2 text boxes. If the user presses the Enter key when either text box has focus, I would like to change it to a Tab key. I tried using PageHelper.ConvertEnterToTab(control), but it doesn't work (a button on the page is "clicked" instead). I looked at some existing pages (not customized) like Admin\Catalog\EditCategory.aspx & .cs, and they exhibit the same behavior: PageHelper.ConvertEnterToTab(contrl) is called for several controls, but hitting the Enter key while those controls have focus just clicks the default button on the page. Is there something else that needs to be done to get ConvertEnterToTab to work?
Version: Gold R5 build 5731
Does ConvertEnterToTab work?
-
- Commodore (COMO)
- Posts: 436
- Joined: Tue May 07, 2013 1:59 pm