Vote count:
0
I have a Jquery Date Picker, the date is selected from the DatePicker but i dont know how send or attach that date with my model, so that it can transfer to the controller. As
<div class="editor-label">
<%: Html.LabelFor(Function(model) model.UserName) %>
</div>
<div class="editor-field">
<%: Html.EditorFor(Function(model) model.UserName) %>
<%: Html.ValidationMessageFor(Function(model) model.UserName) %>
</div>
<div class="editor-label">
<%: Html.LabelFor(Function(model) model.SecretVoucherId) %>
</div>
<div class="editor-field">
<%: Html.EditorFor(Function(model) model.SecretVoucherId) %>
<%: Html.ValidationMessageFor(Function(model) model.SecretVoucherId) %>
</div>
<div class="editor-label">
<%: Html.LabelFor(Function(model) model.VoucherDate) %>
</div>
<%-- here i have Jquery Date Picker, How to send this Selected date to Controller with model --%>
<p>Date: <input type="text" id="datepicker" ></p>
<p>
<input type="submit" value="Save Voucher" />
</p>
asked 43 secs ago
Aucun commentaire:
Enregistrer un commentaire