We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to Validate this control whether the dropdown has value or not on save button Click?

HI,

Is there any way to Validate the  controls  whether the dropdown has value or not on save button Click?


Regards,
Chaitanya

1 Reply

KC Kasithangam C Syncfusion Team February 13, 2015 01:24 PM UTC

Hi Chaitanya,

Query: Is there any way to Validate the controls  whether the dropdown has value or not on save button Click?

Yes, we can validate manually to check the dropdownlist has value or not. We can use “getValue” method to get the current value selected in the dropdownlistbox. By using this method we can check whether the dropdownlistbox has value or not.

We have prepared the sample based on this and please find the sample under the following location,

Sample:Dropdownlist

Please let us know if you have further queries.

Regards,

Kasithangam



Loader.
Live Chat Icon For mobile
Up arrow icon