Click here to Skip to main content
15,886,002 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello , i have web page like facebook and there no of content i want to update when new update are available ,means if i have dropdown control in page and upload new data from server then dropdown will automatically update without timer control,because if timer will use then it will take loading on page for other request in page..(Ex . facebook page update)
Posted

It's not possible. Without refreshing the page you cannot load the dynamic contents. You need to refresh or reload your page either partially or fully. In this case you can refresh only those area of the page which is required to be updated. For this, you need to use update panel there. And refresh the update panel in every 5 minutes or as per your requirements.
Refer the links below:
Refresh Update Panel every 60 seconds [^]
Tutorial: How to refresh an UpdatePanel control at a timed interval[^]
Walkthrough: Using the ASP.NET Timer Control with Multiple UpdatePanel Controls[^]

Here[^] is a video tutorial, you can try that also.


--Amit
 
Share this answer
 
Comments
bhargavpp 15-Oct-12 5:21am    
have you used facebook,that include that functionality,and if i want to refresh page then no need to put question on codeproject
_Amy 15-Oct-12 5:29am    
As you are talking about the Facebook, then let me tell you one thing, that is in php and they used partial page updating using JQuery. That is what I guided you. Evne though I've given the links also.
Refer the link below:
http://developers.facebook.com/blog/post/2012/05/09/platform-updates--operation-developer-love/[^]
bhargavpp 15-Oct-12 5:33am    
ok no problem i will use jquery then how is possible and please do not use settimeout functon in that
bhargavpp 15-Oct-12 5:47am    
without any event means click event i want
 
Share this answer
 
Comments
bhargavpp 15-Oct-12 5:13am    
i dont want page refresh..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900