How to return data from model in textfields with Ajax call?
问题 I am using asp.net mvc And I have a login model with three fields: -baliecode -username -password So every balie code correspondents with a username and password. And now I try to get the username and password in the texfields if a user has entered a baliecode an press TAB. The action method looks likes this: [AcceptVerbs(HttpVerbs.Post)] public JsonResult GetLogindetails(V_LoginModel_BalieUser model) { ISalesPersonProfile salesAgent99 = CommerceFrameworkBase.SalesPersons.GetSalesPerson("HD")