Could anyone please tell how to pass dynamic values using Url.action().
Something Like,
var firstname="abc";
var username = "abcd";
location.href = '@Html.Raw(@Url.Action("Display", "Customer", new { uname = firstname ,name = username}))';
firstname, username is not getting reffered inside the Url.action() method.
How to pass these dynamic values using Url.action()?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…