Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143247 | Mar 11,2019 05:05 PM UTC | Mar 13,2019 12:11 PM UTC | ASP.NET Web Forms (Classic) | 3 |
![]() |
Tags: NumericTextBox |
2. But when you put the validators, it shows that you can not set the ValidationRule property in the Numerictextbox control.
<script>
$.validator.setDefaults({
//to validate all fields(hidden also)
ignore: [],
//if we don’t set custom class, default “error” class will be added
errorClass: 'e-validation-error',
//it specifies the error message display position
errorPlacement: function (error, element) {
$(error).insertAfter(element.closest(".e-widget"));
}
});
</script> |
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.
This page will automatically be redirected to the sign-in page in 10 seconds.