How can I get the WHDG/WDG with a template column to put focus on the control in the template when tabbing thought the grid?
Hello,Please take a look at the attached from me sample with the WHDG. It contains first column which is templated ASP Button. I am tabbing through it with "TAB" key under all the browsers I used to test - IE 9, FF 10 and Chrome. My environment is VS 2010 and Win 7 64 bit all Updates applied. Please let me know if you face any different behavior.
I have my templates and ASP:Buttons in the HTML. I do not see what I could do differently. As I tab through the cells in the grid, the cell gets the focus but not the button inside the cell without using the mouse to click in the button. See attached.
Hello Autumn,Please let me know if the issue is resolved and if yoh have any further questions regarding it?
David,
Changing children[0] to children[1] worked in this case. Focus is now set in the WebTextEditor. Thanks for your help. Here is my code.
With the WebTextEditor, the first child is actually a hidden input. You need to focus the input. In a simple editor, this could be children[1]. Otherwise, it may be nested further. In that case, you should get a reference to the text editor with $find and call .focus()
regards,
David Young
I get the exact same error when I execute your code. Only difference is we are using Infragistics4.Web.v11.1, Version=11.1.20111.2135 instead of 11.2. We cannot upgrad to 11.2 because we have many of the old Infragistics controls and these are not included in the 11.2 release. Any other ideas?
Hello Autumn,Please let me know if you have any further questions regarding this issue.