Guest User

Untitled

a guest
May 3rd, 2016
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. //Here is my first TextBoxFor
  2.  
  3. @Html.TextBoxFor(p => p.DeliveryNote.Shipment.SenderData.PtzipCode4, new { @class = "form-control", @style = "width:100%" })
  4.  
  5.  
  6.  
  7. //Here is my second TextBoxFor, as you can see they are using the same property PtzipCode4
  8.  
  9. @Html.TextBoxFor(p => p.DeliveryNote.Shipment.SenderData.PtzipCode4, new { @class = "form-control", @style = "width:100%" })
  10.  
  11. //I even tried using the Value tag as you can see below, but the value kept it zero value
  12.  
  13. Html.TextBoxFor(p => p.DeliveryNote.Shipment.SenderData.PtzipCode4, new { @class = "form-control", @Value = Model.DeliveryNote.Shipment.SenderData.PtzipCode4, @style = "width:100%" })
Add Comment
Please, Sign In to add comment