This KB showcase the example to disappear the Validation Message shown even after the value is changed in the dropdown list using valid method.
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.
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:|
or the page will be automatically redirected to sign-in page in 10 seconds.