I have ASP.NET MVC controller named dictionary with method ControlsLangJsFile. Method returns view of users control (ASCX) which contain JavaScript variables.
When
Try:
return Json(new { uCode = SysContext.CurrentUserCode, uPwd = SysContext.CurrentUserPwd, rMe = SysContext.RememberMe }, "application/json", JsonRequestBehavior.AllowGet);