在<head></head>中加入:<base target="_self" />

解决方案 »

  1.   


    明白你的意思了!
    在a.aspx页面的<head>部分里添加: <base target="_self" />
      

  2.   

    aspx页面在showmodeldialog情况下为什么一提交就重新打开一个页面?
    <head></head>标签间加入<base target=“_self”> showmodaldialog打开的页面中在之间加入一行:
    做项目的时候遇到了这个问题,在模态窗口中一点击查询按钮就弹出一个新窗口,上网查了查,有两种解决方法:
    一、用框架页才能避免页面在新窗口中打开,你可以用iframe,也可以用frameset标签,但相对来说iframe更简单省事。
    二、在模态窗口的页面head部分添加下面代码就可以了!
    <base target='_self'>
      

  3.   

    在a.apsx的<head></head> 中加上<base target="_self">就可以了。
      

  4.   

    大家都说了。呵呵。在a.apsx的 <head> </head> 中加上 <base target="_self">就可以了