I have a timer in my application for 1 minute, It refreshes after 1 minute,
but i dont want to call Timer after one minute, while i am doing some thing in the page.
So my objective is get the idle time suppose 2 minutes then i have to call the timer.
I have a timer in my application for 1 minute, It refreshes after 1 minute,
but i dont want to call Timer after one minute, while i am doing some thing in the page.
So my objective is get the idle time suppose 2 minutes then i have to call the timer.
According to your description, I couldn't understand your requirement clearly.
Do you mean you want change the timer Interval time after first timer fired?
I mean first timer is called one minute, then the second timer is called two minutes.
If this is your requirement, you could try to use below codes:
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
7 Points
37 Posts
Idle time in Timer
Jan 24, 2018 12:38 PM|sth_syed|LINK
I have a timer in my application for 1 minute, It refreshes after 1 minute,
but i dont want to call Timer after one minute, while i am doing some thing in the page.
So my objective is get the idle time suppose 2 minutes then i have to call the timer.
How can i achive this.
Star
9831 Points
3120 Posts
Re: Idle time in Timer
Jan 25, 2018 05:27 AM|Brando ZWZ|LINK
Hi sth_syed,
According to your description, I couldn't understand your requirement clearly.
Do you mean you want change the timer Interval time after first timer fired?
I mean first timer is called one minute, then the second timer is called two minutes.
If this is your requirement, you could try to use below codes:
Best Regards,
Brando