This HyperLink syntax is not working to pass parameters to a small PopUp window:
<asp:HyperLink ID='HyperLink2' runat='server' Text='Manage Related Items' NavigateUrl='<%# 'editRelatedItems.aspx?' + 'ProductSID=' + Eval('ProductSID') + '&CollectionTypeID=' + Eval('CollectionTypeID')+ '&ProductTypeID=' + Eval('ProductTypeID') %>' onclick='window.open('editRelatedItems.aspx?','name','height=550, width=790,toolbar=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=no'); return false;) target='_blank' />
Looks like the <asp:HyperLink> tag does not take the 'onclick'. Any ideas on how to get a pop up to fire that can get these parameters? I’m using C#, so perhaps there is a way to build the NavigateURL string in the code behind?
Thanks for any insight you may have.
That should work, but I would really create a javascript method to call which would open the window.