For example, I have this textbox
<input id="@item.Id" type="number" value="@item.TotalAmount" />
and when rendered out, it becomes
<input id="1048" type="number" value="3.60" />
How do I add a letter to the id to make the rendered out textbox to become?
<input id="T1048" type="number" value="3.60" />
I tried below but it doesn't work
<input id="[email protected]" type="number" value="@item.TotalAmount" />
id='T@(item.id)'or you can also useString.Format("T{0}", @item.id)with Razor. Let me know if it works.