si, credo sia meglio fare un <asp:hyperlink> e settare il suo NavigateUrl.
Inoltre, i proxy per le proprieta' dovrebbero agire su proprieta' Private interne...
cioè:
.vb
codice:
Private _testolink as string
Public Property testolink() As String
Set(ByVal value As String)
Me._testolink = value
End Set
End Property
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.xhtml.NavigateUrl = _testolink
End Sub
.aspx
codice:
<asp:hyperlink id="xhtml" runat="server" />