c# - Update listbox on time asp.net -
i have listbox getting data database . problem want refresh list box on every 3 seconds example or n seconds. possible in asp.net can update listbox on time without refreshing whole page? , if possible how can it?
ok did research updatepanel have problem making datasource of listbox , listbox refresh .
thanks.
i think $.ajax should works great along javascript setinterval like:
<script> yourmethodname(); function yourmethodname() { //bind listbox using $.ajax setinterval(yourmethodname, 3000); } </script>
if nee how bind listbox using jquery http://www.dotnetcurry.com/showarticle.aspx?id=454 may you.
Comments
Post a Comment