Posted
on Jul 26, 2011
(permalink)
How does this work when using URL.Action? For instance:
columns.Bound(user => user.Username).ClientTemplate("<#= <a href='" + Url.Action("EditUser", "CreateEditUser", new {username = user.Username}) + " '>Username</a> #>");
In this case, the anonymous type parameter to URL.Action seems that sets the value of username, is unable to be set, as there isnt an obvious way to escape to the context of the current row, and extract that value from user.
Is this possible?