I have the following ViewModel on an ASP.NET MVC:
public CategoryNewViewModel {
public Int32 Type { get ; set; }
public IDictionary<String, String> Descriptions { get; set; }
}
The Description Key is the language and Description Value is the text.
On the view I will need to render N inputs, one for each language ...
When the form is submitted the Descriptions property would become:
"en", "The description in english"
"pt", "A descrição em português"
"fr", "La description en français"
One problem is I am not sure how many inputs I will have on the view.
Does anyone knows if this binding is possible?