showModalDialog 里面触发服务器事件的解决方法:

1.

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

 

2. this.Button1.Attributes.Add("onclick", "window.showModalDialog('XXXXX.ASPX?id=" + ID+ "','window','dialogWidth:880px;DialogHeight=380px;status:no;help:no;resizable:yes;');window.location='#';");

posted @ 2009-12-07 17:21  Ken-Cai  阅读(250)  评论(0编辑  收藏  举报