Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/01/2010, 09:38
JonaRock
 
Fecha de Ingreso: diciembre-2009
Mensajes: 23
Antigüedad: 14 años, 4 meses
Puntos: 0
De acuerdo Respuesta: Problema: Ocultar Div que contiene Progress Bar mediante JavaScript en asp

Me respondo solo jajaja
en el evento Load contrui mi sentencia JavaScript y con el poderoso ScriptManager.RegisterStartupScript lo ejecute y santo remedio =)

if (FlagProgress == true)
{
strScript = "";
strScript += "clearTimeout(progressTimer);";
strScript += "for (var i = 1; i <= progressEnd; i++) ";
strScript += "document.getElementById('progress'+i).style.backg roundColor = 'transparent';";
strScript += "progressAt = 0;";
strScript += "document.getElementById('showbar').style.visibili ty = 'hidden';";
strScript += "document.getElementById('ContenedorProgress').sty le.visibility='hidden';";
strScript += "document.getElementById('capaFondo1').style['filter'] = 'alpha(opacity=50)';";
strScript += "document.getElementById('capaFondo1').style['opacity'] = '0.5';";
ScriptManager.RegisterStartupScript(this.ImageButt on6, GetType(), "script", strScript, true);
}