开发者

Easy way to maintain scroll position with ASP.NET MVC2?

I was wondering if there was a way to easily maintain scroll position using MVC? I've seen a few ways of doing it with javascript, but I开发者_如何学编程 would like an easy way like webforms, such as the MaintainScrollPositionOnPostBack page property. Does such a thing exist or am I going to have to use javascript?


Sorry - there's nothing built into MVC - you need javascript


Maintain Scroll Position of EVERY Element on PostBacks | [Mostly] Technical Notes by Mahdi Hasheminezhad

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜