在mvc中插入新数据时如何自动刷新网格 [英] How auto refresh grid when insert new data in mvc

查看:64
本文介绍了在mvc中插入新数据时如何自动刷新网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


当我的项目员工插入新数据时,我希望自动刷新网格。

为exmaple i manager和open grid page。我在其他房间的员工插入新请求。我希望看到没有刷新的新请求。



非常感谢

解决方案

如果你想这样做而没有刷新然后你可能需要实时的网络库,如 ASP.NET SignalR [ ^ ]

查看此演示 [ ^ ]

hi
i want auto refresh my grid when my employee in my project insert new data.
for exmaple i manager and open grid page . my employee in other room insert new request. i want see new request without refresh.

many thanks

解决方案

if you want to do this without refresh then you may need real time web library like ASP.NET SignalR[^]
check this demo [^]


这篇关于在mvc中插入新数据时如何自动刷新网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆