Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/05/2010, 20:46
Avatar de jcmendezn
jcmendezn
 
Fecha de Ingreso: mayo-2010
Mensajes: 1
Antigüedad: 13 años, 11 meses
Puntos: 0
propiedad PreviousPage

Hola podrian ayudarme con la propiedad PreviousPage

En la pagina fuente
==============
estoy definiendo
Public ReadOnly Property CurrentName() As String
Get
Return labelnombre.text
End Get
End Property

En la pagina destino
===============
defino la directiva
<%@ PreviousPageType VirtualPath="~/Login.aspx" %>

y en Page_Load
labelusuario.Text = PreviousPage.CurrentName (El labelusuario si existe)

y me da el siguiente error: Object reference not set to an instance of an object.

Podrian ayudarme por favor, estoy utilizando asp.net y visual studio 2008,
de antermano muchas gracias por la ayuda.

J.C.