showModalDialog 页面上GridView的分页问题

问题:

在showModalDialog打开的页面上有个GridView控件,GridView中有分页导航,点击导航按钮时,会在showModalDialog页面外弹出一个新的页面.

解决方法:

在showModalDialog页面中的<Head></Head>加入<base target="_self" /> 即可.如

<head>

<base target="_self" />
</head>

posted on 2010-06-11 10:28  carekee  阅读(149)  评论(0编辑  收藏  举报