I have a usercontrol that has a property called CallingPage that tells me which page my usercontrol is on. The code looks like so:
<cc1:title id="Title1" runat=server CallingPage="0-1" />
The problem I am running into is that when I try to dynamically set the CallingPage like so:
<cc1:title id="Title1" runat=server CallingPage='<%=CP%>' />
it shows the calling page as <%=CP%> instead of the public value that CP is set to in the codebehind.
Any Ideas what might be causing this?
I use almost identical syntax to set the value of the border width for a table on the same usercontrol???
-drew10
<cc1:title id="Title1" runat=server CallingPage="0-1" />
The problem I am running into is that when I try to dynamically set the CallingPage like so:
<cc1:title id="Title1" runat=server CallingPage='<%=CP%>' />
it shows the calling page as <%=CP%> instead of the public value that CP is set to in the codebehind.
Any Ideas what might be causing this?
I use almost identical syntax to set the value of the border width for a table on the same usercontrol???
-drew10