<script type="text/javascript"> $('.DIVName').popupWindow({ height:500, width:800, top:50, left:50 }; </script>
<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <script type="text/javascript"> function ShowPopUp() { window.showModalDialog('SomePage.aspx', 'NewWin', 'dialogWidth=200px;dialogHeight=150px;dialogTop=200px;dialogLeft=50px;dialogRight=50px; center= No;help= No;location= No;edge= Raised; resizable= No; scrollbars= No; status= No'); var windowObject = window.self; windowObject.opener = window.self; return false; } </script></head><body> <form id="form1" runat="server"> <div> <asp:Label ID="Label1" runat="server" Text="Label" onmouseover="javascript:ShowPopUp();"></asp:Label> </div> </form></body></html>