washwishneee
New Member
Hello,<BR><BR>I'm having problems passing the value of a variable to a user control.<BR><BR>I've no problem passing predefined strings<BR><Temp:header Runat="server" ID="header" strPath="../"/><BR><BR>But if I try and pass<BR><Temp:header Runat="server" ID="header" strPath="<%=strPath%>"/><BR><BR>I don't get the value just the string, and advice is greatly appreciated, thanks<BR>Sub Page_Load(s As Object, e As EventArgs)<BR> strPath = "../"<BR><BR> header.strPath = strPath<BR>End Sub