Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi friends,

am unable to click this link inside gridview in internet explorer.
it can open in google chrome. but not in IE.

XML
<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>



Please can you help me, what is the problem with IE.

Thanks
Posted
Comments
Sergey Alexandrovich Kryukov 15-Dec-13 3:28am    
If you unable to click on something, it means you mouse is broken... :-)
—SA
Member239258 15-Dec-13 3:33am    
Sir, it works in google chrome, but not in Internet Explorer.

1 solution

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
 
Share this answer
 
Comments
Member239258 15-Dec-13 3:47am    
Sorry, this doesn't works.
Please help.
Sergey Alexandrovich Kryukov 15-Dec-13 13:01pm    
At least it corrects your code. Would you should your code sample after correction? What does not work, exactly?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900