开发者

prevent go to the top page [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

scroll go to the top page

Hi all

please how i can prevent go to the 开发者_JAVA技巧top page when post back page (asp.net)


Assuming you are talking about webform, you can set MaintainScrollPositionOnPostBack in the Page directive and the framework looks after it for you.

<% Page Language ="C#"  MaintainScrollPositionOnPostBack="true" %>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜