Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/11/2008, 01:47
Avatar de ceSharp
ceSharp
 
Fecha de Ingreso: octubre-2008
Ubicación: Madrid
Mensajes: 495
Antigüedad: 15 años, 7 meses
Puntos: 66
Respuesta: Java Script y ASP .Net

Hola hasan,
...con tan pocos datos tan solo puedo darte una forma muy genérica de escribir texto en un textbox. Supongamos que tienes un boton que al hacer click rellena un textbox:
- En el evento onClientClick del button pones ="javascript:rellenarTextBox();"
- En el código javascript pones esta función:

function rellenarTextBox()
{
var x = document.getElementById('TextBox1');
x.value = "texto";
}

(suponiendo que el ID del textbox es 'TextBox1')

Salu2