I have a web page which will display live odds. At first there gonna be only one game at the same time interval. But now, it seems to be there can be 2 games at the same time. On my page, I am getting live odds data from database and displaying it on the
40 inch TV. (There wont be any user interaction, clicking etc) There is a update panel on my page and a timer which updates the data every 1 minute. Here is my question:
Is there a way to switch screens after 1 minute or something like that in order to display 2 live games ? Any help would be great.
Best Regards.
Edit1: Maybe something via JQuery or something?
Keep your friends close and your enemies even closer
Why not just create 2 different gridviews/repeaters? One for each. Then when the refresh hits, you can call the sub-routine to update the data for each game.
cenk1536
Contributor
2503 Points
2123 Posts
Update Panel Switch Screen?
Apr 30, 2012 01:21 PM|LINK
Hi,
I have a web page which will display live odds. At first there gonna be only one game at the same time interval. But now, it seems to be there can be 2 games at the same time. On my page, I am getting live odds data from database and displaying it on the 40 inch TV. (There wont be any user interaction, clicking etc) There is a update panel on my page and a timer which updates the data every 1 minute. Here is my question:
Is there a way to switch screens after 1 minute or something like that in order to display 2 live games ? Any help would be great.
Best Regards.
Edit1: Maybe something via JQuery or something?
mth13
Member
331 Points
96 Posts
Re: Update Panel Switch Screen?
May 01, 2012 06:35 PM|LINK
Why not just create 2 different gridviews/repeaters? One for each. Then when the refresh hits, you can call the sub-routine to update the data for each game.
Catherine Sh...
All-Star
23382 Points
2490 Posts
Microsoft
Re: Update Panel Switch Screen?
May 04, 2012 09:14 AM|LINK
Hi cenk1536,
You can realize it. But the method depends on your reqirement.
If there are user interaction in the page, you can try to switch screen through Ajax Control Toolkit Tabs. For details, please check the link below:
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Tabs/Tabs.aspx
If there are not user interaction in the page, you can try to realize it via setInterval() Method. For more information, please check:
http://www.w3schools.com/jsref/met_win_setinterval.asp
Best wishes,
Feedback to us
Develop and promote your apps in Windows Store