Atlas Refresh

  • Thread starter Thread starter Vai2000
  • Start date Start date
V

Vai2000

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
 
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
 
yea, thanks

Galin Iliev said:
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 said:
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
 
Back
Top