![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/01/2006, 18:02
|
![Avatar de Nombela](http://static.forosdelweb.com/customavatars/avatar95906_1.gif) | | | Fecha de Ingreso: abril-2005
Mensajes: 611
Antigüedad: 19 años, 10 meses Puntos: 1 | |
Que diferencia habria entre esto:
string strScript;
strScript = "<script>";
strScript += "document.getElementById('ComboClientes').focus(); ";
strScript += "</script>";
Page.RegisterStartupScript ("ClientScript", strScript);
y esto:
StringBuilder sbJscript = new StringBuilder ();
sbJscript.Append ("<script...");
...
...
Page.RegisterClientScriptBlock("AlgunNombre",
sbJscript.ToString());
__________________ :si: El hombre es el único animal que come sin tener hambre, bebe sin tener sed y habla sin tener nada que decir. :si: |