GridView 中的每一行作为 PartialView
我们有一个 ASP.NET MVC 应用程序,它使用 gridview(来自 DevExpress MVC)控件作为 PartialView。这个 gridview 包含数百万行,在执行一些操作后,使用 ajax 更新整个局部视图,这需要花费大量时间。是否有可能使用ajax仅更新单行?
感谢您的帮助!
We have an ASP.NET MVC application that uses gridview (from DevExpress MVC) control as PartialView. This gridview contains milions of rows, and after doing some action whole partialview is updated using ajax which takes a lot of time. Is there any possibilty to update only single row using ajax?
Thanks for help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前,不可以。GridView 应该在单独的 PartialView 中定义,并且整个 PartialView 应该是网格回调后更新(通过 CallbackRouteValues.Action)。
At present, No. The GridView should be defined within a separate PartialView and the whole PartialView should be updated after a grid callback (via the result of the CallbackRouteValues.Action).