WebPages - @Html.TextBox how to set the value RRS feed

  • Question

  • User379720387 posted

                    header: "Amount Paid",
                    style: "col4",
                    format: @<text>
                    <span id="amountpaid" class="display-mode">@item.AmountPaid</span>
                    @Html.TextBox("AmountPaid", item.AmountPaid, new {@class="edit-mode", size = 5})

    Sunday, November 15, 2015 9:26 PM

All replies

  • User-821857111 posted

    What's the issue? Assuming item.AmountPaid has a value, it should display in the textbox.

    Monday, November 16, 2015 2:18 AM
  • User379720387 posted

    Mike, I must have accidentally hit submit on this post, however I was intending to discard it.

    Didn't see it until this morning what I did.

    There was some issue somewhere else in that jquery script that was causing the "Save" to only work once. Thought it had something to do with the Html.Textbox but it didn't.

    My apologies for wasting your time.

    Monday, November 16, 2015 8:03 AM