I'm trying to pass the id value of the url into a textboxfor of a view like the picture below,and i have no idea how to do it. here's the image
update, the problem is that value of id is pass from another view by action link like this
@Html.ActionLink("Chose Car Type for Car", "Addcar", "Car", new { id = item.Ctid }, null)|
so what i want is to pass an attribute from two different views belong to 2 different controller and different action, how can i do that, i just need to make the attribute from one view appear in other under any type like viewbag or anything.
