Hi,
I have a form containing a kendo-window with a select inside the window that isn't posting. When I place the select outside the kendo-window, it posts correctly.
Is there something I need to be doing to get a field inside a kendo-window to post?
Note: all other fields including the window are in the form #changeForm.
Markup:
<
kendo-window
name
=
"confirm"
modal
=
"true"
title
=
"Send"
draggable
=
"false"
resizable
=
"false"
width
=
"600"
visible
=
"false"
>
<
content
>
<
p
>Who would you like to send the email to?</
p
>
<
div
id
=
"dialog-content"
>
<
select
asp-for
=
"Names"
multiple
=
"multiple"
class
=
"form-control"
asp-items
=
"@(new SelectList(ViewBag.Users))"
>
<
option
value
=
""
selected></
option
>
</
select
>
</
div
>
<
hr
/>
<
button
class
=
"btn btn-success"
type
=
"button"
id
=
"confirmSend"
>Send</
button
>
</
content
>
</
kendo-window
>
Script:
$(
"#confirmSend"
).click(
function
() {
$(
"#changeForm"
).submit();
});
Thanks!