Refreshing a part of webSite
-
How to use Timer to refresh this Code
Visitors online: <%= Application["OnlineUsers"].ToString() %>
in regular intervals without refreshing the whole page !
-
How to use Timer to refresh this Code
Visitors online: <%= Application["OnlineUsers"].ToString() %>
in regular intervals without refreshing the whole page !
Have the variable in a small DIV. Have a small window.setTimeout function to be called repeatedly based on timer and use XmlHttpRequest to fetch the value from the server and paint the DIV alone.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep! -
Have the variable in a small DIV. Have a small window.setTimeout function to be called repeatedly based on timer and use XmlHttpRequest to fetch the value from the server and paint the DIV alone.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!Sorry !
I am Shame to say that ....
Will you please
give example Step by Step
so i can understand it better (Cause i am new to ASP.net) and have to finish my project for this Wednesday !?
-
Sorry !
I am Shame to say that ....
Will you please
give example Step by Step
so i can understand it better (Cause i am new to ASP.net) and have to finish my project for this Wednesday !?
-
No Link !!!!!!!!!!!!!!!!!!
-
No Link !!!!!!!!!!!!!!!!!!
jojoba2010 wrote:
No Link !!!!!!!!!!!!!!!!!!
What do you mean by that ? Link is properly given there. I am again giving it for you. http://www.asp.net/AJAX/Documentation/Live/overview/PartialPageRenderingOverview.aspx[^]
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
No Link !!!!!!!!!!!!!!!!!!
Link fixed above and try not to use <pre></pre> unless your submitting code of somekind
-
Link fixed above and try not to use <pre></pre> unless your submitting code of somekind
Thanks You mean that i use this code <pre> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate>
Visitors online: <%= Application["OnlineUsers"].ToString() %>
</ContentTemplate> </asp:UpdatePanel> </pre>