Also not able to dynamically set value in Input Fi

totobobo

New Member
I tried using a <input id="strDBID" type="hidden" value=http://aspmessageboard.com/archive/index.php/"<%=objReader.Item("ID")%>" runat="server"> and I get an error "Server tags cannot contain <% ... %> constructs."<BR><BR>Anyone have any ideas how I can get around this?<BR><BR>Thanks,<BR>Davidif you want to use an input tag, you should use asp:TextBox control instead. Then, you can set the Text attribute of it in a script block.
 
Back
Top