125
rated 0 times
[
126]
[
1]
/ answers: 1 / hits: 170286
/ 11 Years ago, wed, february 27, 2013, 12:00:00
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()?
More From » c#