Click to See Complete Forum and Search --> : asp popup on check for new display items


silverbullet24
11-11-2005, 12:20 PM
i would like to figure out if there is a way to have asp popup a window (or even display a taskbar icon) whenever a new item is found. Here are the details.

My app displays upcoming appointment requests on a page that need follow up. I would like to auto refresh the page every so many minutes and check for new appointments. If there is one, i'd like to popup some sort of message or icon notifying the user of it, like if they had their window minimized. very much like how most email programs work

any thoughts? I can easily do the refresh and determine if there are new records, i just don't know how to go about popping up a mesage or displaying an icon of some sort

thanks all

lmf232s
11-11-2005, 01:01 PM
If you want a pop up like say outlook, msn, etc.
The only think i can think of (to do it the way you mentioned) is to create a dll in say vb or .net and then if you find a new record, call the dll and pass it any information if needed

The dll would just create a small window in the right hand corner of the screen to alert the user a new record was found.

silverbullet24
11-14-2005, 09:21 PM
ok thanks for the input. do you think there is any other way to accomplish this, maybe with javascript or something? the solution doesn't have to be all that fancy

i have found some .net controls utilizing javascript although they seem to only work when the window is open. that doesn't seem very useful, as i hoped this would popup even if the window was minimized.

something like on a refresh, check for new appointments, then if one or more is found then use the onload body event to open a new javascript window? the page auto-refreshs every 5 minutes if that helps

Bullschmidt
11-15-2005, 07:41 AM
Here are some message boxes that have worked for me and one of these could have conditional ASP code (If Then Else...) around it:

Response.Write "<script type='text/javascript'>alert('Yet to be developed.');</script>"

Response.Write "<script type='text/javascript'>alert('" & MyASPVariable & "');</script>"