Hello. I have problem with ActionLink. I'd like to pass to my ActionLink parameter for my MessageController, for Edit action: to generate somthing like this /MessagesController/Edit/4
So I have ListView control with binding expression: <%# ((Message)Container.DataItem).CreationDate.ID %> and how to pass this ID to ActionLink as parameter to my Controller Edit action?
This doesn't work: <%= Html.ActionLink("my link", "Edit", "Message", <%# ((Message)Container.DataItem).ID %>, null) %>