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='#';");