HTML Code:
<img src='ProductImages/<%# DataBinder.Eval(Container.DataItem, "ImagePath") %>' border="0" vspace="10" onClick="window.open('file.html','myWin','width=300, height=300, top=100, left=100, toolbar=0, menubar=0, location=0, status=0, scrollbars=1, resizable=1')">
Added later:
The above should, I think, work in your particular case with most browsers, however, the following is more correct (still tailored to your particular case):
HTML Code:
<a href="file.html" onClick="window.open('file.html','myWin','width=300, height=300, top=100, left=100, toolbar=0, menubar=0, location=0, status=0, scrollbars=1, resizable=1');return false"<img src='ProductImages/<%# DataBinder.Eval(Container.DataItem, "ImagePath") %>' border="0" vspace="10"></a>
Bookmarks