Ok, here is my senario.
A random (6-15) amount of textboxes are generated. Each textbox represents only one character. From those textboxes, three of them (at a random position) are enabled and the rest disabled.
When I put a character in any enabled textbox, it must put the focus on the next enabled textbox.
Textbox IDs go from 'char0' to 'char15' OR 'char0' to 'char12' OR ...
All the textboxes are generated so I can't set up specific focus events for each textbox because the designated control is unknown at design time.
Here is my attempt:
for (int i = 0; i < focusableControls.Length-1; i++)
focusableControls[i].ClientSideEvents.KeyDown = "abc(" + focusableControls[i + 1].ID + ")";
focusableControls is an array with all the textboxes in that can get focus. It is also in the right order.
Things I want to find out:
How will I send the textbox out of focus
View Complete Post