Código:
Gracias y un saludo. Session("NuevoDocumento") = "~/Documento.aspx?id=8"
............
If Not Session("NuevoDocumento") Is Nothing Then
Me.lblMensaje.Text = "El nuevo documento está disponible en: "
Dim hl As New HyperLink
hl.NavigateUrl = Session("NuevoDocumento")
hl.Target = "_blank"
' Debería aparecer http://www.dominio.com/Documentos.aspx?id=8
' pero me sale el texto tal cual, es decir, ~/Documentos.aspx?id=8
hl.Text = ....
Me.pnlMensaje.Controls.Add(hl)
Session("NuevoDocumento") = Nothing
End If

