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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

118217 Feb 12,2015 09:57 AM UTC Feb 13,2015 01:24 PM UTC JavaScript 1
loading
Tags: ejDropDownList
chaitanya
Asked On February 12, 2015 09:57 AM UTC

HI,

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


Regards,
Chaitanya

Kasithangam C [Syncfusion]
Replied On 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



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;