|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
timer functionalityHi,
I'm developing an online fun game called tambola... The requirement is as follows Each logged user will have a ticket generated for him.. The system should display the numbers from 1 to 99 after every 10 secs.... Presently, I've used a timer control to display the numbers after every 10 secs... The problem with the timer control is that, it's causing a postback after every 10 secs,,, which is a hit on the server.. I want to avoid this hit on the server.. Is there any other to achieve this functionality in .net without much load on the server regs avl You should consider using client side code such as JavaScript.
Show quoteHide quote "AVL" <A**@discussions.microsoft.com> wrote in message news:FCF3B31A-3EA5-4A2C-B0E7-2DCD8E4AEE58@microsoft.com... > Hi, > I'm developing an online fun game called tambola... > The requirement is as follows > Each logged user will have a ticket generated for him.. > The system should display the numbers from 1 to 99 after every 10 secs.... > > Presently, I've used a timer control to display the numbers after every 10 > secs... > The problem with the timer control is that, it's causing a postback after > every 10 secs,,, which is a hit on the server.. > I want to avoid this hit on the server.. Is there any other to achieve > this > functionality in .net without much load on the server > > regs > avl Can I get few samples for the same?
Show quoteHide quote "Steve C. Orr [MVP, MCSD]" wrote: > You should consider using client side code such as JavaScript. > > -- > I hope this helps, > Steve C. Orr, MCSD, MVP > http://SteveOrr.net > > > "AVL" <A**@discussions.microsoft.com> wrote in message > news:FCF3B31A-3EA5-4A2C-B0E7-2DCD8E4AEE58@microsoft.com... > > Hi, > > I'm developing an online fun game called tambola... > > The requirement is as follows > > Each logged user will have a ticket generated for him.. > > The system should display the numbers from 1 to 99 after every 10 secs.... > > > > Presently, I've used a timer control to display the numbers after every 10 > > secs... > > The problem with the timer control is that, it's causing a postback after > > every 10 secs,,, which is a hit on the server.. > > I want to avoid this hit on the server.. Is there any other to achieve > > this > > functionality in .net without much load on the server > > > > regs > > avl > > > Here's an example of a JavaScript timer that executes JavaScript code every
N seconds: http://www.crowes.f9.co.uk/Javascript/timer.htm Show quoteHide quote "AVL" <A**@discussions.microsoft.com> wrote in message news:60389FC8-1220-4D92-9D8C-268F1FB0420B@microsoft.com... > Can I get few samples for the same? > > "Steve C. Orr [MVP, MCSD]" wrote: > >> You should consider using client side code such as JavaScript. >> >> -- >> I hope this helps, >> Steve C. Orr, MCSD, MVP >> http://SteveOrr.net >> >> >> "AVL" <A**@discussions.microsoft.com> wrote in message >> news:FCF3B31A-3EA5-4A2C-B0E7-2DCD8E4AEE58@microsoft.com... >> > Hi, >> > I'm developing an online fun game called tambola... >> > The requirement is as follows >> > Each logged user will have a ticket generated for him.. >> > The system should display the numbers from 1 to 99 after every 10 >> > secs.... >> > >> > Presently, I've used a timer control to display the numbers after every >> > 10 >> > secs... >> > The problem with the timer control is that, it's causing a postback >> > after >> > every 10 secs,,, which is a hit on the server.. >> > I want to avoid this hit on the server.. Is there any other to achieve >> > this >> > functionality in .net without much load on the server >> > >> > regs >> > avl >> >> >>
Master Pages and Cross-Page Form Information
Adding Access keys to menu items in the Menu control extended Label webcontrol, doesn't populate it's children ?? Is there a way to set onmouseover for a LinkButton in ASP.NET 2.0 ? Localize control file upload control - ASP2.0 Repeater Grouping THE > SUPER-MONEY-SOURCE < Re: RegisterStartupScript problem Missing UserControl When Added To Wizard As A UserControl |
|||||||||||||||||||||||