今天看见有位老兄提到了在VS2005里,控制滚动条的方法,突然想起在VS2003里曾经也这样用过。分享跟大家。
其实很简单只要在HTML中
<%@ Page language="c#" SmartNavigation="True" Codebehind="WebForm2.aspx.cs" AutoEventWireup="false" Inherits="WebApplication8.WebForm2" %>
<%@ Page language="c#" SmartNavigation="True"   Codebehind="WebForm2.aspx.cs" AutoEventWireup="false" Inherits="WebApplication8.WebForm2" %>
加入
SmartNavigation="True"
代码就OK了。
<%@ Page language="c#" SmartNavigation="True" Codebehind="WebForm2.aspx.cs" AutoEventWireup="false" Inherits="WebApplication8.WebForm2" %><%@ Page language="c#" SmartNavigation="True" Codebehind="WebForm2.aspx.cs" AutoEventWireup="false" Inherits="WebApplication8.WebForm2" %>
posted on 2007-04-26 17:44  过江  阅读(755)  评论(2编辑  收藏  举报