J
John Lau
Hello,
In Asp, you can render a server side variable inside the quotes in an html
element attribute. For example:
<link rel="stylesheet" href="<%=SomeVariableName%>" type="text/css">
I'm trying to do something similar in Asp.Net:
<link rel="stylesheet" href="<SomePlaceholderControl runat=server>"
type="text/css">
However, Asp.Net sees the characters inside the quotes as literal text. Is
there a way to put a server side control inside the quotes?
Thanks,
John
In Asp, you can render a server side variable inside the quotes in an html
element attribute. For example:
<link rel="stylesheet" href="<%=SomeVariableName%>" type="text/css">
I'm trying to do something similar in Asp.Net:
<link rel="stylesheet" href="<SomePlaceholderControl runat=server>"
type="text/css">
However, Asp.Net sees the characters inside the quotes as literal text. Is
there a way to put a server side control inside the quotes?
Thanks,
John