Grazie per il suggerimento, comunque continua a non aprire il pop-up.
Ho perfino provato a modificare come segue:
codice:
head>
<script type="text/javascript">
function x()
{
var MyImage=document.getElementById("img1").src ;
return (MyImage);
}
</script>
</head>
<body>
<form id="form1" runat="server">
<a href="#top" onClick="MyWindow=window.open("'+ MyImage +'",'MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=300,height=300'); return false;">
<asp:Image
runat="server"
ID="img1"
height="100px"
width="150px"
ImageAlign="right"
cssClass="img01"
/>
</a>
</form1>
</body>
Sostituendo nel href l'oggetto apre regolarmente pop-up con figura.Devo usare le parentesi graffe quando passo la variabile MyImage?