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