This is a migrated thread and some comments may be shown as answers.

Stop/Start Timer in Grid

1 Answer 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 25 Feb 2011, 09:43 AM
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

1 Answer, 1 is accepted

Sort by
0
Jon
Top achievements
Rank 1
answered on 28 Feb 2011, 12:03 AM
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
Tags
Grid
Asked by
Jon
Top achievements
Rank 1
Answers by
Jon
Top achievements
Rank 1
Share this question
or