<td>
                  <asp:TextBox runat="server" />
                  </td>
                  <td>
                  <asp:Button runat="server" Text="选择" OnClientClick="OpenNewWindow()"/>
                  </td>
              </tr>
            </table>
        </form>
    </div>
</body>
<script type ='text/javascript'>
    function OpenNewWindow() {
        var str = window.showModalDialog('Pages/FrameFrm.aspx', document.Form1.txtShowReturnValue.value, 'dialogWidth=1000px;dialogHeight=900px', 'scroll:yes');
        if (str != null)
        { document.Form1.txtShowReturnValue.value = str; } 
    }
</script>
</html>
您可能感兴趣的文章:
