Pop Up Window..ASP.NET

  • Thread starter Thread starter seep
  • Start date Start date
S

seep

Hi,
I have a webform with a button.
When the user moves their mouse over the button.. I would
like to initiate a mouseover event that shows a small
window with text.. The text will be populated from a
dataset...

Does anyone here know how to do this?
I have code that does the mouseover in javascript.. A
window even pops up.. but I am not sure how to send
dynamic text to this window...

I hope I am being clear enough..
A tooltip would be ok if I could get the data to show up
in 2 lines neatly.. ie

DATAROW 1
DATAROW 2

Any ideas?

Thanks
 
There are a couple of possibilities.

1. Dynamically create the Window.Open() URL to include enough information to
pull from a database.

2. Feed the data into JavaScript when the page is initially called and
create a tooltip. If you cannot easily do it with HTML, consider setting up a
layer and painting it on the mouseover event.

NOTE: The second option is more difficult to implement, as different
browsers render layers differently (some older browsers will not render at
all), so the option is more applicable to a controlled environment, like an
Intranet.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top