Is it possible to popup reminder on particular time in asp.net
-
Hi all, In my application, i have one requirement that i want to show popup type reminder on particular time which is set by user. This is call center type application in which executive set the reminder to call on particular time and all his reminder message and time are inserted into the database and to show popup, it will fetch the reminder data from the database. I have one clue to implement it, but performence wise its not good to implement it. So Is there any way to implement it???????????:confused: Thanks in advance...
Krishnraj
-
Hi all, In my application, i have one requirement that i want to show popup type reminder on particular time which is set by user. This is call center type application in which executive set the reminder to call on particular time and all his reminder message and time are inserted into the database and to show popup, it will fetch the reminder data from the database. I have one clue to implement it, but performence wise its not good to implement it. So Is there any way to implement it???????????:confused: Thanks in advance...
Krishnraj
You can set a timeout in javascript, so you can inject the code to do that, with the appropriate timeout value based on the users timezone ( which you can also find with js, but that's a little tricky, if you know their timezone, that would make it a lot easier ). So, the page you send, can be set with a timer to show that message, without having to refresh or use ajax.
Christian Graus Driven to the arms of OSX by Vista.
-
You can set a timeout in javascript, so you can inject the code to do that, with the appropriate timeout value based on the users timezone ( which you can also find with js, but that's a little tricky, if you know their timezone, that would make it a lot easier ). So, the page you send, can be set with a timer to show that message, without having to refresh or use ajax.
Christian Graus Driven to the arms of OSX by Vista.
Hi, Thanks for replying... Yes, You are correct..and now see this... I make one function in javascript, just for testing
function startTime()
{
var today=new Date()
var h=today.getHours()
var m=today.getMinutes()
var s=today.getSeconds()// Call the page which checks the minutes after every one minute
t=setTimeout('startTime()',1000)
}In the above code startTime function call recursively bcs i have to check the datetime from the database which is there in the page. so it will run after every 1 minuite and it will run on every client computer. so can u think performence wise it is suitable?? And yes one more thing Here JQuery can help me? I want yr suggesion. Thanks again...
Krishnraj