Click here to Skip to main content
15,911,848 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to display a popup window onmouseohver (image) event and in window i want to display name, address,age, contact.using asp.net & javascript i hv no idea plz help me...........
Posted

create a new page popup.aspx, add all the field which are required like name,address, age...

on parent page write following code on image onmouseover event

onmouseover = "window.showModalDialog('popup.aspx')"
 
Share this answer
 
I would suggest investigating jquery dialogs. By the simplest explanation, they consist of a hidden div which can be populated via javascript with the data you require and the call to show and hide it are quite easy to implement. It also saves you from having to do complete postbacks on every call. I often just jquery dialogs in association with ajax calls to populate the data.
http://jqueryui.com/demos/dialog/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900