473,382 Members | 1,376 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Atlas Refresh

Hi All, I have a grid which binds to a select on a SQL Db. New rows are
constantly being added up to the table. How can I take adv. of Atlas to
refresh on my page when the data changes...? For now I do a refresh every 5
seconds.

TIA
Jun 30 '06 #1
2 1347
you need javascript for this. I wrote function that finds triggerbutton of
atals UpdatePanel and simulate click. this refresh panel

When page is loaded I let browser to execute this wraper every 5 seconds :)
with this line

// start asking for updates

window.setInterval('RefreshPanel()', 5000);

function RefreshPanel()

{

document.getElementById('<%= btnTrigger.UniqueID %>').click();

return;

}

Hope this helps
--
Galin Iliev [MCSD, MCSD.NET]
Senior Software Developer
www.wordassist.com

"Vai2000" <no****@microsoft.com> wrote in message
news:O4**************@TK2MSFTNGP03.phx.gbl...
Hi All, I have a grid which binds to a select on a SQL Db. New rows are
constantly being added up to the table. How can I take adv. of Atlas to
refresh on my page when the data changes...? For now I do a refresh every
5
seconds.

TIA

Jul 1 '06 #2
yea, thanks

"Galin Iliev" <co*****@galcho.com._no_spam_wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
you need javascript for this. I wrote function that finds triggerbutton of
atals UpdatePanel and simulate click. this refresh panel

When page is loaded I let browser to execute this wraper every 5 seconds
:)
with this line

// start asking for updates

window.setInterval('RefreshPanel()', 5000);

function RefreshPanel()

{

document.getElementById('<%= btnTrigger.UniqueID %>').click();

return;

}

Hope this helps
--
Galin Iliev [MCSD, MCSD.NET]
Senior Software Developer
www.wordassist.com

"Vai2000" <no****@microsoft.comwrote in message
news:O4**************@TK2MSFTNGP03.phx.gbl...
Hi All, I have a grid which binds to a select on a SQL Db. New rows are
constantly being added up to the table. How can I take adv. of Atlas to
refresh on my page when the data changes...? For now I do a refresh
every
5
seconds.

TIA


Jul 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Varangian | last post by:
I'm not sure if there was already a post on this.. if so I apologise My question is what difference is there between Atlas and ASP.NET callback and why should people go on Atlas rather than on...
0
by: PeterKellner | last post by:
I have an asp.net 2.0 Image control that I have surrounded with the appropriate atlas:UpdatePanel tags. The Image control referencs an aspx page whose only job is to output an Image. (it forms...
0
by: Vai2000 | last post by:
Hi All, I have a grid which binds to a select on a SQL Db. New rows are constantly being added up to the table. How can I take adv. of Atlas to refresh on my page when the data changes...? For now...
0
by: larry | last post by:
Hi, I have two webparts with updatepanel and gridview in each webpart. Using the web part manager and web part connection gives me the key to filter the second (detail) gridview, which works...
3
by: Piotrek | last post by:
Hi all. I am creating a web site, in which I would like to use Atlas. I created an user control (Test1), in which there is a DropDownList with some values. I set AutoPostbackProperty of this...
0
by: M B HONG 20 | last post by:
Hi All - I have an ASP.NET 1.1 web application which also uses a web service. I need to asynchronously refresh pages upon notification from the server. I have a "master page" which receives all...
4
by: omer.mush | last post by:
Hi, I am using ASP.Net 2.0 along with C# and Atlas. I have some image panels alongwith asp:panel controls. I am using image panels as tabs, when user clicks a specific portion of the image, I...
1
by: Vaidas Gudas | last post by:
How to update ATLAS AJAX UpdatePanel by using javascript.
1
by: sudhaMurugesan | last post by:
Hi, I am using Update Panel for Partial refresh of my controls. But radio button control causes full postback. Please can anyone guide or give any alternate suggestion. I hav...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.