This is a migrated thread and some comments may be shown as answers.

DropDownList Validation Not Firing

1 Answer 68 Views
Validation
This is a migrated thread and some comments may be shown as answers.
Douglas
Top achievements
Rank 1
Douglas asked on 15 Oct 2015, 06:28 PM

We are using Kendo UI 2014.2.716.

 I have a DropDownList defined like this:

<div id="ScenarioCurrency" name="ScenarioCurrency" style="width: 250px"
     data-role="dropdownlist"
     data-value-primitive="true"
     data-text-field="Label"
     data-value-field="CurrencyCode"
     data-bind="value: SelectedCurrency, source: Currencies"></div>

The validator is added to the form:          $('#ScenarioForm').kendoValidator({ ... });

There are 4 custom rules defined.  When the DropDownList loses focus, none of the custom rules are run, nothing happens in the validator at all.

I looked around and I see tons of people with this issue but no real solutions and no examples on the Kendo site with anything other than a simple <input> text field.

Is it possible to validate a DropDownList?  How do you do it?


1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 19 Oct 2015, 09:59 AM
Hello Douglas,

The provided information is not sufficient enough in order to determine where exactly the problem come from. Could you please isolate the case in Kendo UI Dojo example so I can examine it and assist you further?

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Validation
Asked by
Douglas
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or