NavigateUrl="javascript:window.open()"
解决方案 »
- javascript document.write 送分题
- 十万火急:请教asp.net服务器控件CheckBoxList在页面的源码中不显示
- 菜鸟请教,UpdateCommand更新参数能不能动态显示
- 提议:发帖之前检测该用户是否有未结的帖子
- 90分!请教高手!如何用asp模拟用户单击行为!
- <a href='info.aspx?type=广交会'> 用Request["type"].ToString()获取的是'广交'而不是广交会
- 请教在打开项目时提示WEB组件没有安装,可是在IIS也安装了呀
- asp.net + oracle 连接时,关闭连接怎么无效呀
- asp.net那中写法,打开速度最快
- 大家帮帮忙!
- 在他在电脑上进行数据增加
- 运行vbc.exe 是不是要先配置路径?
</asp:HyperLinkColumn>点击该连接弹出两个窗口!
一个是希望得到的窗口。
另一个是多余的窗口,地址栏是:javascript:window.open('../purchaseret/Part_QuotePrice.aspx?PartID=17','title','scrollbars=yes,width=450,height=280')窗口内容是:[object]
用target="_blank":
<asp:HyperLinkColumn HeaderText="功能" DataTextField="PartName" DataTextFormatString="报价" DataNavigateUrlField="PartID" DataNavigateUrlFormatString="../purchaseret/Part_QuotePrice.aspx?PartID={0}" target="_blank">
</asp:HyperLinkColumn>
用window.open:
<asp:HyperLinkColumn HeaderText="功能" DataTextField="PartName" DataTextFormatString="报价" DataNavigateUrlField="PartID" DataNavigateUrlFormatString="javascript:window.open('../purchaseret/Part_QuotePrice.aspx?PartID={0}','title','scrollbars=yes,width=450,height=280')">
</asp:HyperLinkColumn>