Answer the question
In order to leave comments, you need to log in
How to get data from .dxTextBox and send to server?
Layout.cshtml
$("#id0").dxTextBox({
placeholder: "Введите номер поручения",
showClearButton: true
}).dxValidator({
<div class="form">
<div class="dx-fieldset">
<div class="dx-field-2">
<div class="dx-field-value">
<div class="dx-field-value-1">
<div id="id0"></div>
</div>
.......
function validateAndSubmit(params) {
var result = params.validationGroup.validate();
if (result.isValid) {
DevExpress.ui.notify({
message: "Отправка",
position: {
my: "center top",
at: "center top"
}
}, "success", 3000);
form.submit();
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question