本文介绍了如何在MVC 4中没有完整页面加载的情况下加载数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个员工列表,在那个列表编辑按钮就在那里。单击编辑按钮后,我在模型弹出窗口中打开了编辑员工部分视图。当我单击弹出数据中的保存按钮时,会更新并重定向到操作员工列表。但这会导致整页加载。如何在没有完整页面刷新的情况下加载更新的数据。

I have a Employee list,in that list edit button is there. When the edit button is clicked i have opened a Edit employee partial view in model popup. When i click the save button in the popup data is updated and i redirected to the action employee list. But this causes full page load. How can I load updated data without full page refresh.

推荐答案


这篇关于如何在MVC 4中没有完整页面加载的情况下加载数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 12:38