onSelectRow: function(id) {
document.location.href = '@Url.Action("EditEncounter", "EditEncounter", new { encounterId = "'<%:id%>'", popId = TempData["POPULATIONID"] })'
//new { encounterId = temp.EncounterId, popId = (int)TempData["POPULATIONID"] }
}
如何在 sam hill 中将该 id 变量放入我的 Url.Action 方法中?
这就是我调试时正在查看的内容
document.location.href = '/EditEncounter/EditEncounter?encounterId=%40id&popId=2'