i have an repeater and show some records in repeater, but 1 column value has been changed in database.
Then i want to update that value in repeater without page load on every second.
how can i achieve it.
Loading
i have an repeater and show some records in repeater, but 1 column value has been changed in database.
Then i want to update that value in repeater without page load on every second.
how can i achieve it.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Naimish MakwanaPosted Feb 14, 2024, 5:24 AM
Sure, here’s how you can use an
UpdatePanelin your ASP.NET page and JavaScript to periodically update theRepeater:ASP.NET:
JavaScript:
In the ASP.NET code, replace
Your Repeater Items Herewith the actual items you want to display in theRepeater.In the JavaScript code, replace
YourPage.aspx,YourMethod, and#Repeater1with your actual page name, method name, and Repeater ID.Remember to include the jQuery library in your project for the JavaScript code to work.
Please note that this is a very basic example and might need to be adjusted based on your specific requirements and setup.
rupesh gourPosted Feb 12, 2024, 9:55 AM
please give any example?