J
jahles
I have a control that takes an ID (short). In the html where the control is
placed, when I put the following:
<td>
<cc2:logocontrol id="Logocontrol1"
<TiltleID="<%=_somec#variablethatisetearlier%>
runat="server">
</cc2:logocontrol>
</td>
When I run the page, I get an error saying i can't have '<% %>' with server
side controls. How can I pass in a run time variable here? When I try to set
this variable in the code behind for PAGE_LOAD it doesn't seem to have any
affect. I need to be able to set this variable 'on the fly' somewhere!
Thanks in advance
j
placed, when I put the following:
<td>
<cc2:logocontrol id="Logocontrol1"
<TiltleID="<%=_somec#variablethatisetearlier%>
runat="server">
</cc2:logocontrol>
</td>
When I run the page, I get an error saying i can't have '<% %>' with server
side controls. How can I pass in a run time variable here? When I try to set
this variable in the code behind for PAGE_LOAD it doesn't seem to have any
affect. I need to be able to set this variable 'on the fly' somewhere!
Thanks in advance
j