This project is read-only.

Dropdwon selected value for actionlink

Topics: Customizing Orchard
Jan 27, 2012 at 4:51 AM


I have dropdownlist as following

 @Html.DropDownList("TypeId", Model.TypeList)

And i have Action button, When i click button i want pass dropdwonlist selected value as query string

I done as following

 @Html.ActionLink("Go","Index", new {TypeId=TypeId.value } )


But this is not working, why that