Can I assigin value dynamically like this?
Posted
by kumar
on Stack Overflow
See other posts from Stack Overflow
or by kumar
Published on 2010-05-17T20:48:43Z
Indexed on
2010/05/18
7:30 UTC
Read the original article
Hit count: 240
ASP.NET
<input type="text" id="Date-<%=Model.ID%>" value= " + <%=Html.DisplayFor(model=>model.Date)%> + " />
is this right? i am trying to display value in input box dynamically?
can anyone advice me is this corect approach? but still I am getting here only + + in input box?
thanks
© Stack Overflow or respective owner