In my Asp.net application am trying to display files from the hyperlink, the hyperlink is inside of GridView and my script is
<a href="javascript:window.open('<%# Eval("Url") %>');">View Attachment</a>
the value for this Url is like , localhost:1010/Attachments/test.jpg
when I click this link, it displays the image in a new window, no problem.
But my application page displays only the "[object]",nothing there except this.
am facing this problem only with IE, in chrome its showing perfectly…
how can I fix this, can anyone help me here…
I’ve found in IE9 that by setting the return reference from
window.opento a variable, the behavior you describe will be prevented from occuring.