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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement