ASP MVC.NET - jak powiązać KeyValuePair?
Czy możliwe jest związanie takiego rodzaju własności?
public KeyValuePair<string, string> Stuff { get; set; }
Próbowałem użyć następującego kodu w widoku, ale nie działa:
<%=Html.Text("Stuff", Model.Stuff.Value)%>
<%=Html.Hidden("Model.Stuff.Key", Model.Stuff.Key)%>