title: Displaying List of options selected in MVC
body: <p>I'm trying to display a list of options previously selected.</p>
  
  <p>My model looks like:</p>
  
  <pre><code> public IEnumerable&lt;SelectListItem&gt; ChildrenOptions { get; set; }
   public List&lt;Guid&gt; ChildrensId { get; set; }
  </code></pre>
  
  <p>In the controller I populate the IEnumerable with a MultiSelectList from a list and I pass it to the model</p>
  
  <pre><code>MyModel.ChildrenOptions = new MultiSelectList(myList, "Id", "Name");
  return View(myModel);
  </code></pre>
  
  <p>So if I writte in my View</p>
  
  <pre><code>@Html.DisplayFor(modelItem =&gt; item.Children, item.ChildrenOptions)
  </code></pre>
  
  <p>It displays the Guid/Id, but I would like to display a list of the Names.
  And if I loop the List with a foreach, then I just have the Guids.</p>
  
  <p>Any idea?</p>
  
  <p>Some posts with helpfull related info I've already visited:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/3737985/asp-net-mvc-multiselectlist-with-selected-values-not-selecting-properly">ASP.NET MVC MultiSelectList with selected values not selecting properly</a></li>
  <li><a href="https://stackoverflow.com/questions/12295199/how-to-pass-multiselect-lists-selected-items-back-to-controller">How to pass multiselect list&#39;s selected Items back to controller?</a></li>
  <li><a href="https://stackoverflow.com/questions/12599470/populating-multiselect-list-with-data-mvc-3-net">Populating multiselect list with data MVC 3 .NET</a></li>
  </ul>