【发布时间】:2012-12-11 19:12:49
【问题描述】:
我在 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"))
}
我想更改它,以便单击事件在具有指定高度和宽度的新窗口中打开
我该怎么做,请帮忙
【问题讨论】:
标签: asp.net gridview new-window rowdatabound