Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Is it possible to popup reminder on particular time in asp.net

Is it possible to popup reminder on particular time in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasequestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Krishnraj
    wrote on last edited by
    #1

    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

    C 1 Reply Last reply
    0
    • K 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

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      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.

      K 1 Reply Last reply
      0
      • C Christian Graus

        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.

        K Offline
        K Offline
        Krishnraj
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups