无法使用INTERNET EXPLORER点击gridview内的链接 [英] unable to click link inside gridview with INTERNET EXPLORER
本文介绍了无法使用INTERNET EXPLORER点击gridview内的链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友们,
我无法点击网络浏览器中gridview内的这个链接。
它可以在谷歌浏览器中打开。但不是在IE中。
Hi friends,
am unable to click this link inside gridview in internet explorer.
it can open in google chrome. but not in IE.
<asp:TemplateField HeaderText ="View Records" HeaderStyle-ForeColor="#FDCB0A">
<ItemTemplate>
<a href="javascript:window.open('Add_Stud.aspx?ID=<%#Eval("Id")%>,'height=550', 'width=1100'); return true;">
<span class="TurnInCSS">Turn In Request</span>
</a>
</ItemTemplate>
</asp:TemplateField>
请帮帮我,IE有什么问题。
谢谢
Please can you help me, what is the problem with IE.
Thanks
推荐答案
第一件触及手无寸铁的眼睛是引号不均衡。参数不应该用引号括起来。而是写height = 550,width = 1100
。例如,参见:
http://www.w3schools.com/jsref/met_win_open.asp [ ^ ]。
-SA
First thing which catches an unarmed eye is that '' quotation marks are not balanced. Parameters should not be in quotation marks. Instead, write"height=550, width=1100"
. See, for example:
http://www.w3schools.com/jsref/met_win_open.asp[^].
—SA
这篇关于无法使用INTERNET EXPLORER点击gridview内的链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文