I am now able to call the ajax method from login page by commenting [AutoValidateAntiforgeryToken] in CustomerController.cs and by adding attribute [CheckAccessPublicStore(true)] on controller method.
CustomerController.cs ------------------------------------------ //[AutoValidateAntiforgeryToken] public partial class CustomerController : BasePublicController{ }
[CheckAccessPublicStore(true)] public string GetMobileNo(){ return "12345"; }
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hai ancora qualche domanda o hai bisogno di aiuto?