Home Change receive values in front
Reply: 0

Change receive values in front

user3843
1#
user3843 Published in September 20, 2018, 4:34 pm

I have foreach loop with razor engine like this

  @foreach (var item in Model.Item3.Matriz.Select((value, i) => new { i, value })) {
<tr>
  <td>@item.value.Unidad</td>
  <td class="hidden">@Html.Hidden("Item3.Matriz[" + item.i + "].Unidad", item.value.Unidad, new { @id = "Unidad_" + item.i })</td>

</tr>
}

So in table I can receive into Unidad value only values CORP, ALU AND PLA I want to know if it´s possible to replace that values with anothers. For example:

If I receive CORP from backend change it in front for CORPORATION

Is that possible?

share|improve this question

1 Answer 1

active oldest votes
up vote 0 down vote accepted
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.36612 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO