I have got the HyperLinkField below, that's part of a gridview, and I want it to open in a new popup window in Chrome...
<asp:HyperLinkField DataNavigateUrlFields="Site ID" HeaderText="Site ID" target="_blank" DataTextField="Site ID" SortExpression="Full ID" DataNavigateUrlFormatString="sitecard.aspx?id={0}" NavigateUrl="javascript:window.open('sitecard.aspx'), 'pop', 'width=300, height=100, left=100, top=100, resizable=no, scrollbars=no, toolbars=no, menubar=no" />
Problem is that the page is opened in a new tab. As far as I have understood, Chrome only opens in a new window (thus acting like a real popup) whether the action is a user generated one (like onclick() for instance).
How should I change the code to have the new window to act like a real popup in chrome?
Thanks for you help. Regards,