在vs 2003中是:
<%@ Page Language="C#"  SmartNavigation = true  AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" Title="Untitled Page" %>
而在vs 2005中是:

在aspx檔的第一行加上MaintainScrollPositionOnPostback="true"

<%@ Page Language="C#" MaintainScrollPositionOnPostback="true"  AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" Title="Untitled Page" %>

相关文章:

  • 2021-08-06
  • 2021-05-19
  • 2022-12-23
  • 2021-04-16
  • 2021-12-12
  • 2021-11-19
  • 2021-11-09
猜你喜欢
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2021-10-18
  • 2021-09-04
  • 2021-11-09
  • 2022-02-22
相关资源
相似解决方案