我使用以下方法,试图能在页面上单击选择一个DataGrid的行,而又想通过双击可以打开另一外网页!
怎么处理!//打开网页
e.Item.Attributes.Add("ondblclick","window.open('" + webPage + "','','" + webPosition + "' );");
//选择行
e.Item.Attributes.Add("onclick",GetPostBackEventReference(e.Item.Cells[2].Controls[0]));我现在只是偶尔在页面心血来潮看我可怜时,才让打开一两次!
高手救命啊!