ASP.NET 2.0中新增加了2个很实用的属性和方法:

SetFocus()用来将光标聚焦到某个页面控件上
ASP.NET 2.0中新增加了2个很实用的属性和方法<%@ page language="C#" %>
ASP.NET 2.0中新增加了2个很实用的属性和方法
ASP.NET 2.0中新增加了2个很实用的属性和方法
<script runat="server">
ASP.NET 2.0中新增加了2个很实用的属性和方法    
void Page_Init(object sender, EventArgs e)

MaintainScrollPositionOnPostback 设置成true可以在页面PostBack的时候保持页面滚动条的位置

在web.config作如下设置即可:
ASP.NET 2.0中新增加了2个很实用的属性和方法<pages smartNavigation="true" maintainScrollPositionOnPostBack="true"/>

相关文章:

  • 2022-12-23
  • 2021-05-15
  • 2022-02-12
  • 2021-06-07
  • 2021-06-10
  • 2021-07-05
  • 2022-02-03
猜你喜欢
  • 2021-08-23
  • 2021-10-31
  • 2022-02-12
  • 2022-12-23
  • 2021-08-14
  • 2021-09-23
  • 2021-06-03
相关资源
相似解决方案