AJAX call on OnChange event in MVC

前端 未结 5 935
温柔的废话
温柔的废话 2021-01-02 19:39

I have to make an AJAX call on the onchange event of a dropdownlist which is part of a view. On the change event i need to call the database, do some calculations display th

5条回答
  •  生来不讨喜
    2021-01-02 20:23

    Look into using a partial view. There are many links if you google ASP.Net MVC Partial View but here is one I found intestering

    http://blog.stevensanderson.com/2008/10/14/partial-requests-in-aspnet-mvc/

提交回复
热议问题