<ClientSideEvents GotFocus="GotFocus" />editContract.SetFocus()//设置文本框等的焦点function GotFocus(s, e) { window.top.DLG.show(700, 600, "PrePayment/ContractSelect.aspx", "选择", null ); }