S
Steve Richter
I have a public variable ( "mZipServiceUrl" ) in my code behind class
that I am able to substitute into the HTML of the .aspx file:
<span onclick="WindowOpen('<%=mZipServiceUrl%>')"
style="text-decoration:underline;cursor:hand;color:red;">
<%=mZipServiceUrl%>
</span>
but in the same page, I cant substitute the same variable into a user
control:
<ac:AcLinkControl id="link5" Launch=true Url='<%=mZipServiceUrl%>'
style="color:red; LinkText="<%=mZipServiceUrl%>" runat="server" />
Nothing gets substituted. The variable name shows up in the rendered
html, as is.
What are these substitution variables call? I cant find an explanation
of them in the MSDN site.
Can variables be substituted in the .aspx file into user controls?
thanks,
-Steve
that I am able to substitute into the HTML of the .aspx file:
<span onclick="WindowOpen('<%=mZipServiceUrl%>')"
style="text-decoration:underline;cursor:hand;color:red;">
<%=mZipServiceUrl%>
</span>
but in the same page, I cant substitute the same variable into a user
control:
<ac:AcLinkControl id="link5" Launch=true Url='<%=mZipServiceUrl%>'
style="color:red; LinkText="<%=mZipServiceUrl%>" runat="server" />
Nothing gets substituted. The variable name shows up in the rendered
html, as is.
What are these substitution variables call? I cant find an explanation
of them in the MSDN site.
Can variables be substituted in the .aspx file into user controls?
thanks,
-Steve