Hi Rob,
Thanks for contacting Syncfusion Support.
We have a property named as
_requiresID in our source. When this property is set to true, it generates the ID for the control automatically using the prefix “ejControl-(index)”, if the ID is not provided for the control in the sample .
To set this property, we need to define it in the prototype of DropDown control. Refer to the following code example.
[html]
<script>
ej.DropDownList.prototype._requiresID = true;
</script>
|
Note: This script needs to be set next to ej.web.all.min.js script reference.
We can use the ID “
ejControl-(index)”[
ejControl-0], to write the testing automation using selenium.
We have also modified your code example.
http://jsplayground.syncfusion.com/dfuyk5km
Regards,
Dhinesh R