Am having a listbox in MVC using HTML helpers
@Html.ListBoxFor(d => d.SelectedItems, new MultiSelectList(Model.Items, "Value", "Text"), new { id = "listID", name = "listName"})
But the above code didnt change the name of listbox but id changed am getting name as SelectedItems.
is that the correct way ? what am doing wrong ?
Thanks