Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/09/2010, 13:46
Avatar de jaullo
jaullo
 
Fecha de Ingreso: abril-2009
Mensajes: 994
Antigüedad: 15 años
Puntos: 30
Respuesta: Problema al cargar label dinamico

Debes colocarlo dentro de un if !postack, por ejemplo

Código ASP:
Ver original
  1. if (!IsPostBack)
  2.         {
  3. Si (hay notificaciones)
  4. {
  5. Label.text=”Tienes Notificaciones: ”+ notificación.text;
  6. Botondescartar.visible=false;
  7. }
  8. Sino
  9. {
  10. Label.text=”No Tienes Notificaciones”;
  11. }
  12. Botondescartar_Click
  13. {
  14. Notificaciones.actualizar(estado=false)
  15. }
  16. }

Saludos,
__________________
http://geekswithblogs.net/jaullo/Default.aspx
Si te he ayudado regalame Karma positivo!!!