Skip to content
Loading
  
  •   
  • class="row">  
  • class="col-lg-11">  
  • class="input-group">  
  • class="input-group-addon">  
  • class="glyphicon glyphicon-user">  
  • @Html.DropDownListFor(x => x.Hospital,  
  • new SelectList(string.Empty, "Value", "Text"),  
  • "Please select a Hospital", new { @class = "form-control" })  
  •   
  •   
  •   
  • }  
  • 0
  • Joginder Banger
    0
    Hi,
     
    in textbox have value which is have viewbag
     
    @Html.TextBox("Site", (string)@ViewBag.SiteId, null, new { @class = "form-control" })
     
    you need when dropdown change the value auto populate the value in textbox?
     
    Let me know am think right?
     
    Thanks
    JSB
    0