Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hello Experts,


I have developed an asp.net application where we can create reminders using calendar.

There will be a startdate textbox where we can select startdate using calendar extender..

Now in the textbox we write the task description..

next we select the tasktype from drop down list items Weekly,Monthly,Yearly,Daily,Today..

as per the selected tasktype we get the enddate..


now how can i create a service that can be used to show some popup on the system when the enddate is reached..
Posted
Comments
Sergey Alexandrovich Kryukov 17-Jun-13 1:35am    
What do you mean "hpw"? By doing some programming work? What exactly are your concerns?
—SA
Thanks7872 17-Jun-13 1:44am    
Dont repost the question. Follow one thread only.
saguptamca 17-Jun-13 4:38am    
Please explain more to get exact answer. Not able to help this way, improve your question.
thnks, sagupta

C#
if(userSelectedEndDate == DateTime.now)
{
  //here you can show your popup.etc
}


hope it will work

userSelectedEndDate it will be the end date which selected by the user from your end date calendar control.
you save it in database.

and when you end date reached the upper "if " condition will help you.
 
Share this answer
 
v2
You will have to use timers for this purpose ,on tick event of timer you will have to compare the condition of present date time with end date time, read more about timers to solve your purpose.
 
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