0
我用下面的代碼在RowDataBound事件新的.aspx頁面如何使用在GridView中的RowDataBound聲明即可離開,與特定的窗口大小
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes["onClick"] = string.Format("window.location = 'CandidateProfile.aspx?candidateID={0}';", DataBinder.Eval(e.Row.DataItem, "candidateID"))
}
我想改變它,點擊打開事件在規定的高度和寬度
一個新的窗口,我該怎麼做,plz幫助