Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/03/2011, 09:56
aenima_tool
 
Fecha de Ingreso: marzo-2011
Mensajes: 34
Antigüedad: 13 años, 1 mes
Puntos: 2
Respuesta: foco en un textbox

Dentro del textbox agregale la propiedad GotFocus y ponle esto:

Código vb:
Ver original
  1. GotFocus="This.SelStart = LEN(RTRIM(This.Value))"

Ejemplo:

Código vb:
Ver original
  1. <asp:TextBox ID="TextBox4" runat="server" GotFocus="This.SelStart = LEN(RTRIM(This.Value))"></asp:TextBox>