这是我的Default.aspx
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html>
<script runat="server">
Protected Sub Page_Load(ByVal Sender As Object, ByVal E As EventArgs)
ScriptManager1.RegisterAsyncPostBackControl(HyperLink1)
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="Label1" runat="server" Text="Panel Created"></asp:Label>
<asp:HyperLink NavigateUrl="Default2.aspx" ID="HyperLink1" runat="server">HyperLink</asp:HyperLink>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>
我希望当用户点击HyperLink时,来自另一个.aspx页面的内容会在没有完整页面刷新的情况下加载到Default.aspx中