ASP.NET MVC中的maintainScrollPositionOnPostBack(maintainScrollPositionOnPostBack in ASP.NET MVC)

编程入门 行业动态 更新时间:2024-10-27 03:33:35
ASP.NET MVC中的maintainScrollPositionOnPostBack(maintainScrollPositionOnPostBack in ASP.NET MVC)

如何在ASP.NET MVC中保留回发中的滚动位置? 页面和web.Config中的指令maintainScrollPositionOnPostBack似乎不适用。

How do I maintain the scroll position on a postback in ASP.NET MVC? The directive maintainScrollPositionOnPostBack on the page and in the web.Config does not seem to apply.

最满意答案

ASP.NET MVC中不再有PostBack。 有一个很好的jquery scrollsaver插件值得一试。

There are no longer PostBacks in ASP.NET MVC. There's a nice jquery scrollsaver plugin which is worth checking out.

更多推荐

本文发布于:2023-07-28 12:13:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1305205.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:NET   ASP   maintainScrollPositionOnPostBack   MVC

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!