Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Here is my first TextBoxFor
- @Html.TextBoxFor(p => p.DeliveryNote.Shipment.SenderData.PtzipCode4, new { @class = "form-control", @style = "width:100%" })
- //Here is my second TextBoxFor, as you can see they are using the same property PtzipCode4
- @Html.TextBoxFor(p => p.DeliveryNote.Shipment.SenderData.PtzipCode4, new { @class = "form-control", @style = "width:100%" })
- //I even tried using the Value tag as you can see below, but the value kept it zero value
- 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