Stop/Start Timer in Grid

2 posts, 0 answers
  1. Jack
    Jack avatar
    128 posts
    Member since:
    May 2003

    Posted 25 Feb 2011 Link to this post

    HI,

    I have a grid with a timer and ajax so that it refreshes every 15 seconds and set AllowAutomaticInserts='true".
    One 'add new record' -  in the insert command I am setting Timer1.Enabled = False
    How do I start the timer again once the record is inserted please?

    Cheers,
    Jon
  2. Jack
    Jack avatar
    128 posts
    Member since:
    May 2003

    Posted 27 Feb 2011 Link to this post

    Sorry it was a bad day - I knew it had to be easy and it was.........
    Just start the timer in the ItemInserted event.
    Jon
Back to Top