Vlad,
How do I determine what the next control name will be if I use this is a user control?
I have these textboxes in a user control ucSSN. How can I set the focus from control to control within the user control?
Thanks
Rex
>Hi!
>
>You can do this only by client-side scripting.
>
>Try to put following attribute in the first text box:
>onkeypress="if (this.value.length==10) {TextBox2.focus();}"
>
>and following attribute in the second text box:
>id="TextBox2"
>
>"10" above is max length of value.
>
>>All,
>>
>>I have created an ASCX to enter a SSN consisting of 3 textboxes with dashes between them. I am looking for a way to automatically tab between the textboxes when the textbox maxlength is reached.
>>
>>Thanks
>>
>>Rex
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only