Ciao, devo passare una variabile da aspx ad un link in un ascx;
ASPX:
dim nomefile as string="pippo.htm"
Dim myUC As Footer
myUC = CType(Me.FindControl("Footer"), Footer)
myUC.testolink = nomefile
footer.ascx
<a id="Xhtml" runat="server">
nel CB di footer.ascx dovrei inserire qualcosa tipo
Me.Xhtml.Attributes.Add("href", nomefile)
in
Public Property testolink() As String
Get
End Get
Set(ByVal value As String)
End Set
End Property
ma fallisco miseramente....