SSSaranya Sivakumar Syncfusion Team November 3, 2014 10:38 AM UTC
Thanks for using
We would like to
let you know that, in Dropdownlist control we are having a method called “getSelectedValue”
which is used to get the selected item value in the Dropdownlist. It returns null
or undefined if we didn’t specify the value field in the Datasource. If we
specify the value field then it will return the value of the selected item. We
are having another method called “getValue” which is used to get the text of
the selected item in the Dropdownlist. So include the following code snippet in
the click event of the Button.
var obj = $('#selectCar').data('ejDropDownList');
var a = obj.getValue();
convenience we have prepared the sample based on your requirement, please find
the sample from the following location.
You can also refer
methods and events will be same for MVC components.