Skip to content
Loading
display data based on dropdlist selection using entity model  
  • class="display-label">  
  •  @Html.DisplayNameFor(model => model.Designation)   
  •   
  • class="display-field">  
  • @Html.DisplayFor(model => model.Designation)  
  •   
  •   
  • "~/Scripts/jquery-1.10.2.min.js">  
  • "text/javascript">  
  • $(document).ready(function(){  
  • $('#Ddl').change(function(){  
  • $('demoForm').submit();  
  • });  
  • });  
  •   
  • 1 Reply

    Know the answer? Post it — somebody with the same question will find it here.