Click here to Skip to main content
15,899,025 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to all,

I have developed a CRM application, in which I need to remind user to call a customer, followup and all things.

I am saving date and time in database for the same. But I don't know how to how to give a popup reminder to user...

I want to give popup notification on webpage only.(no email, no sms)
Should I create a service for same or some kind of function which will check database per second..

My Framework is 3.5
Please advice.
Posted
Updated 15-Aug-12 22:31pm
v3
Comments
Sergey Alexandrovich Kryukov 16-Aug-12 2:54am    
Why ASP.NET? Does it have to be a Web application? It would limit you and not good for accuracy, will overuse the resources/traffic.
--SA
Harshad-HBK 16-Aug-12 3:06am    
Yeh, it is a web application, and database is also online. So that user can access it from any where.
Sergey Alexandrovich Kryukov 16-Aug-12 13:07pm    
Well, the solution is quite possible but boring... I hope Solution 1 gives you the idea...
--SA

A simple solution would be to deploy a timer that queries the server at specific intervals to check if an update has occured.
If there is an update, display a popup on the UI.

However, a better solution would be to implement a WCF service that makes use of duplex communication to update the UI of changes on the server. Try http://msdn.microsoft.com/en-us/library/ms731064.aspx[^].
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 16-Aug-12 13:07pm    
It gives an idea on how to do it, a 5.
--SA
Abhinav S 19-Aug-12 12:55pm    
Thank you SA.
Espen Harlinn 19-Aug-12 9:27am    
5'ed!
Abhinav S 19-Aug-12 12:55pm    
Thank you Espen.
Thank to all for replying on this post.

But I have solved this problem.

I have added Iframe and created another page, which fires a trigger after every 1 min on database. It checks time and registers a Client Script popup on browser.

No hole page PostBacking, no any JQuery & no any third party utility.

Job done
Thank to all once again.

Please find sample code at below link.
IFrameTimer.zip[^]

Thank You
 
Share this answer
 
v5
Comments
marsalaz 6-Jul-13 18:14pm    
Hi, could you please upload tje solution code, so that I can implement it in my project?
rahulDer 29-Apr-14 5:18am    
I also needed same thing for followup in my ERP so please do share with us, so that we can also implement it.
Harshad-HBK 11-May-14 11:40am    
Please find sample code download link mentioned in above solution, hope it will help you.

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