onSelectRow: function(id) { document.location.href = '@Url.Action("EditEncounter", "EditEncounter", new { encounterId = "'<%:id%>'", popId = TempData["POPULATIONID"] })'
How on my own hill do I get this id variable in my Url.Action method?
This is what I look when I debug
document.location.href = '/EditEncounter/EditEncounter?encounterId=%40id&popId=2'
source share