I have many div in my aspx page. how to update the content of a particular div?
It should update every one minute time interval..
with out reloading entire page..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Certainly can do as Raj has pointed out but requires you to send back HTML code that is only thats needed. If you’ve got it in a ASPX page, it’ll send the full HTML which is not that you want.
If you’ve done it with with MS-AJAX / UpdatePanel, you can use jQuery or a JavaScript timer to trigger a hidden button which will cause any server side code to update.
Please let me know if you want some examples
EDIT – new code sample
This is via jQuery, in the HTML HEAD
Then in your HTML body