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 resolve validation message appears even after value change on the drop down?

This KB showcase the example to disappear the Validation Message shown even after the value is changed in the dropdown list using valid method.

Solution:

In dropdown list, we have maintained the hidden input element. The jQuery validation is not works for hidden element. Due to this the default validation is not working in dropdown list to overcome this, use the valid method in the dropdown change event.

Step 1: Render the grid control.

HTML

 

JS

 

MVC

 

 

ASP

 

 

.Net core

 

 

Angular

 

 

Step 2: In the actionComplete event while adding the records, we have removed the validation message using valid method in the dropdown change event.

 

Figure 1: Before using valid method, Validation Message is shown even after the value is changed in the drop down.

 

Figure 2: After using valid method, Validation Message is disappeared when value is changed in dropdown.

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
9196 08/21/2018 08/21/2018 JavaScript ejGrid
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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