Hello ,i m using Kendo grid with pop-up edit mode.I have created custom template page for pop-up window.On this template there are some comboboxes.
I want user that can input(on combo's textarea) only from combobox's value.
E.g.:
Combobox-Values: red,yellow,green
When user fill the combobox's textarea like "RED" or "Yellow" validator message should appears and ,update button should return false such required = "required"
does on combobox.
I want user that can input(on combo's textarea) only from combobox's value.
E.g.:
Combobox-Values: red,yellow,green
When user fill the combobox's textarea like "RED" or "Yellow" validator message should appears and ,update button should return false such required = "required"
does on combobox.
@(Html.Kendo().ComboBox()<
br
>
.Name("IDTYPE")<
br
>
//.AutoBind(false)<
br
>
//.Events(e => e<
br
>
// .Change("combobox_select"))<
br
>
.DataTextField("DESCRIPTION").HtmlAttributes(new { style = "width:220px", required = "required" })<
br
>
.DataValueField("REFERENCEID")<
br
>
// .Value(Model.IDTYPEGUID.ToString()) // Initial value<
br
>
// .BindTo(Model.IDTYPE) <
br
>
//.AutoBind(true) <
br
>
.Placeholder("SELECT")<
br
>
<
br
>
.DataSource(source =><
br
>
{<
br
>
source.Read(read =><
br
>
{<
br
>
<
br
>
read.Action("GetDefinitionDetails", "Definition", new { definitionCode = "IDTYPE", addEmptyRow = false })<
br
>
// .Data("onAdditionalData")<
br
>
;<
br
>
<
br
>
})<
br
>
.ServerFiltering(true);<
br
>
<
br
>
}))