title: binding more than two peoperties i.e text and value in dropdownlist in mvc
body: <p>i have a requirement that with text and value in dropdownlist i need one more attribute. i have added one attribute in viewbag but did not know the way to bind it with dropdownlist.
  on the controller side- </p>
  
  <pre><code>ViewBag.IncorporationType = imrSettings.GetIMRAttributeListbyModuleId(ModuleEnum.JURISTIC_PERSON_SUBTYPE, IMRAttributesEnum.JURISTICPERSONTYPE, (int)JURISTIC.INCORPORATION).Select(a =&gt; new ExtendedSelectedList { Value = a.Id.ToString(), Text = a.Value.ToTitleCase(), Attribute1 = a.AttributeValue1 }).OrderBy(a =&gt; a.Text);
  </code></pre>
  
  <p>and on the view - </p>
  
  <pre><code>@Html.DropDownListFor(model =&gt; model.personEntityMapping.EntitySubType2, ViewBag.IncorporationType as IEnumerable&lt;ExtendedSelectedList&gt;, "Select Incorporation Type", new {  @id = "IncorporationType", @class = "form-control validate-req" })
  </code></pre>
  
  <p>i am not able to get this attribute1 value in html with options in dropdownlist. can anyone can help me to bind it.</p>