Hello,
In a form I manage to run the following code with this line:
How to replace this line with this one:
@Html.TextBoxFor(model => model.Tel, new { @value = "@Session["Tel"]@Request.Form["Tel"]", @class = "form-control" })
@ Html.TextBoxFor does not accept value ("@Session["Tel"]@Request.Form["Tel"]") !
how to escape # ?
thank you

Rijwan AnsariRank #82 · 24.2K reputationPosted Feb 2, 2021, 1:47 AM EST
Sachin SinghRank #66 · 26.2K reputationPosted Feb 1, 2021, 1:09 PM EST