G
Guest
I am wanting to make the text value of one control the text value of another
control and I want to do this in the HTML code rather in the code behind.
I have tried the following:
<asp:TextBox ID="txtACF2ID" runat="server" MaxLength="8" Text="<%
=txtACFIIID.Text %>"></asp:TextBox>
<asp:TextBox ID="txtACF2ID" runat="server" MaxLength="8" Text="'<%
=txtACFIIID.Text %>'></asp:TextBox>
I tried without the " or ' but I get an error that "server tags cannot
contain <%... %>
So can this be done in the HTML code?
control and I want to do this in the HTML code rather in the code behind.
I have tried the following:
<asp:TextBox ID="txtACF2ID" runat="server" MaxLength="8" Text="<%
=txtACFIIID.Text %>"></asp:TextBox>
<asp:TextBox ID="txtACF2ID" runat="server" MaxLength="8" Text="'<%
=txtACFIIID.Text %>'></asp:TextBox>
I tried without the " or ' but I get an error that "server tags cannot
contain <%... %>
So can this be done in the HTML code?