G
Guest
Hi All,
I'm trying to use the <% if %> ... <% endif%> construct in the body of an
aspx page to conditionally display a table row. The table row is displaying
regardless of the condition result in the if construct. Am I doing something
wrong? The code is below:
<%if Test EQ 1%>
<TR>
<TD class="SubHead" noWrap width="1%">1Title:</TD>
<TD class="Normal" colSpan="6">
<asp:TextBox id="ftxtTitle" Width="100%" Runat="server">
</asp:TextBox>
</TD>
</TR>
<%endif%>
Thanks in advance to anyone who knows something about this.
Mark
I'm trying to use the <% if %> ... <% endif%> construct in the body of an
aspx page to conditionally display a table row. The table row is displaying
regardless of the condition result in the if construct. Am I doing something
wrong? The code is below:
<%if Test EQ 1%>
<TR>
<TD class="SubHead" noWrap width="1%">1Title:</TD>
<TD class="Normal" colSpan="6">
<asp:TextBox id="ftxtTitle" Width="100%" Runat="server">
</asp:TextBox>
</TD>
</TR>
<%endif%>
Thanks in advance to anyone who knows something about this.
Mark