| 发表于:2007-03-23 10:02:497楼 得分:20 |
function changepassword(id) { window.showmodaldialog( 'setuserpasswordfrm.aspx?id= '+ id, ' ', 'dialogwidth:280px;dialogheight:300px;center:yes;resizable:no;help:no;resizable:no;status:no;scrollbar:no ' ); } 这个需要你打开的窗口 必须被包含在一个框架内(setuserpasswordfrm.aspx) <html> <head> <title> 无标题页 </title> </head> <frameset rows= "0,* " frameborder= "no " border= "0 " framespacing= "0 "> <frame src= "about:blank " scrolling= "no " noresize> <frame src= "setuserpassword.aspx?id= <%=m_cid %> " scrolling= "yes " noresize> </frameset> </html> m_cid 在.cs中定义 protected string m_cid = string.empty; page_load中 m_cid = request[ "id "]; | | |
|