Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am making new project on hospital in asp.net using C#. I want to show the alert popup if user in any page the alert popup window will show automatically after each 10 minutes about appointment of patients from appointment table. when user close it then again after 10 minutes popup window will show and when click on remind later button then popup window will not show to that user. when again log in to the software again same procedure will be repeated for each and every user who logged in.
Posted
Comments
Vani Kulkarni 17-Jul-12 2:06am    
Whats the question?

You can use Timer control for it.

Look at these:
Javascript timers[^]
Ajax Timer control[^]
Ajax Timer control - 2[^]
MSDN: Timer Control Overview[^]

Based on timer control, show your alert window. Based on selection made on the window, set the timer again. Following article can be of help for opening a popup and then sending back a value to parent page from child window after close: Partial update of parent page via AJAX (ASP.NET 2.0) on close of a child window - conditionally[^]
 
Share this answer
 
Hi,

As Sandeep told, Ajax timer will be good option to adopt. and Store any bit value (like shopopup=1 or 0) in cookie/session. when User will hit remind later, this bit turns 0. Check this bit before showing popup. If it is 1 only then show popup else no need to show. When user will sign out, then this bit needs to turn 1.

Thanks,
Rohit
 
Share this answer
 
Hello How r u??
 
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