页面A:
<%&#64; Page Language&#61;"C#" AutoEventWireup&#61;"true" CodeBehind&#61;"Default.aspx.cs" Inherits&#61;"JavascriptWindow._Default" %>
//此处应为Html控件&#xff0c;不能是服务器控件
页面B&#xff1a;
<%&#64; Page Language&#61;"C#" AutoEventWireup&#61;"true" CodeBehind&#61;"B.aspx.cs" Inherits&#61;"JavascriptWindow.WebForm1" %>