I have the following code in my view .cshtml
...
<td class="Centrado">
<input class="plato" value="" id="TComida">
</td>
....
and i want to set a value that comes from the controller, the value is from the class Comida the property Price,
....
@model Util.Comida
Util.Comida menu = new Util.Comida();
menu= (Util.Comida)ViewData["Comida"];
....
¿What can i do to set the value menu.Price to my input class="plato" value="" id="TComida" without losing the css styles aplied thx to my class="plato"?
I have checked that the object menu is correctly populated with data from the controller. Sorry for my english and thx in advance.