ASP.NET教程(七)页面无刷新的做法

Posted on 2005-05-18 15:39  爱克软件  阅读(367)  评论(0)    收藏  举报

一、      Asp.net 中 页面无刷新的做法

asp中为了实现无刷新,常常会将数据提交到隐藏框架中,在asp.net中
有一个很简单的设置就可以实现
       void Page_Load(Object sender, EventArgs e)
       {
          this.SmartNavigation = true;
       }
或者直接写在
<%@ Page language="c#" Codebehind="AllBook.aspx.cs"  SmartNavigation = true  AutoEventWireup="false" Inherits="wx.AllBook" %>
呵呵

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3