html.actionlink javascript variable

 

 

 

 

but html.ActionLink was rendering a link similar to yours. The issue ended up being that one of the routing rules higher in the list was being applied instead.how to asign javascript variable to c.net variable in javascript