S
Spondishy
Hi,
I have a master page with a literal control. As an example, I'm trying
to set the text of the literal to the current time. In the code behind
for the master page I've got a method that returns the string for the
current time.
So I have this:
<asp:Literal ID="Literal1" runat="server"
Text="<%#GetTime()%>"></asp:Literal>
Unfortunately, this doesn't appear to work in a master page. Any way of
doing this?
I have a master page with a literal control. As an example, I'm trying
to set the text of the literal to the current time. In the code behind
for the master page I've got a method that returns the string for the
current time.
So I have this:
<asp:Literal ID="Literal1" runat="server"
Text="<%#GetTime()%>"></asp:Literal>
Unfortunately, this doesn't appear to work in a master page. Any way of
doing this?