Pop up image on mouse hover
问题 I am using asp.net 2.0 and c#. I have a datagrid in which I have a image control, i.e. <asp:Image ID="ImagePreview" runat="server" Width="62px" Height="62px" /> for which I am setting the image URL from code behind, i.e.the image exist in the physical folder. I want to open a pop up with the image on mousehover. Please help me. Thanks in advance. Kindly let me know if any other information is required. 回答1: Please use JavaScript for this: ImagePreview.Attributes.Item("onMouseOver") =