I have the following link:
@Html.ActionLink("Order", "OrderProduct",
new { controller = "Orders", id = item.ITEMID },
new { @class = "lightbox order-link" })
My item.ITEMID
id could contain a forwardslash, for example: GT25-1/VS
But when I click on the link, the id
in my controller is only GT25-1
public ActionResult OrderProduct(string id)
Is there a way I can encode this value to include everything and then decode it in my action?