Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Remote Validation not triggered

$
0
0

Hi, hope someone can help me. I have spent sometime debugging this and also searched this forum (I found one thread but this has not help my particular problem) but am still unable to get working.

My remote method is not called when I tab past the textbox. I see no remote call in my firebug console and the breakpoint is not triggered in Visual Studio.

I think I have everything configured correctly. I am under the impression Client Validation is enabled automatically in Asp.net Core?

Could it be the order in which the framework is adding the jquery validation scripts. Is there a way for me to dictate the order that validate.js and validate.unobtrusive.js are added to the layout page?

i.e.

<scriptsrc="/lib/jquery/dist/jquery.js"></script><scriptsrc="/lib/bootstrap/dashboard/js/bootstrap.min.js"></script><!-- Morris Charts JavaScript --><scriptsrc="/lib/bootstrap/dashboard/js/plugins/morris/raphael.min.js"></script><scriptsrc="/lib/bootstrap/dashboard/js/plugins/morris/morris.min.js"></script><scriptsrc="/lib/bootstrap/dashboard/js/plugins/morris/morris-data.js"></script><!-- Site JavaScript --><scriptsrc="/js/site.js?v=EWaMeWsJBYWmL2g_KkgXZQ5nPe-a3Ichp0LEgzXczKo"></script><scriptsrc="/lib/jquery-validation/dist/jquery.validate.js"></script><scriptsrc="/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>

Thanks for any help.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>