两个不同的webpart在不同的页面,如何传值通信
我要在A.aspx中选择用户,弹出用户列表B.aspx对话框,那么如何把 
 B.aspx中选中的人员编号返回A.aspx的文本框中. 
 如果是在web中,可以用   A.aspx页面 
    function   ShowDialog() 
 		{ 
 			var   o   =   window.document.getElementById( "txtAssignedTo ");			    
 			o.value=msgBox(); 
 		}    
 -------- 
 function   msgBox() 
 		{ 
 			var   strURL;    
 			var   strWin   = "dialogWidth:620px;   help:no;   dialogHeight:360px;status:yes;   center:yes;   scroll:yes ";   
 			strURL= "userInfoSelect.aspx ";     			 
 			if(strURL!= " ") 
 			{ 
 				return   window.showModalDialog(strURL, "a ",strWin);				 
 			} 
 			else 
 			{ 
 				return   -1; 
 			} 
 		} 
 -----------------------B.aspx页面 
 function   sendTo()    
 		{  		             
 		            window.parent.returnValue= "人员编号 "; 
 		            window.opener      =   null; 
 		            window.close()   ; 
 		}    
------解决方案--------------------关注一下!我也遇到类似问题! 
 解决的话给大家说一下! 
 谢谢了!