就是有GLOBAL.ASAX.CS里加上这么一段
protected void Application_BeginRequest(Object sender, EventArgs e)
{
string rawUrl = Request.RawUrl;
rawUrl = rawUrl.Replace("html", "aspx");
Context.RewritePath(rawUrl);
}
---------------------------------
<a href="#" onclick="window.open('about.htm',null,'directories=no,toolbar=no,height=428,width=236,status=no,resizable=no,scrollbars=no,location=no')">关于我们</a>
浙公网安备 33010602011771号