ajax - ASP.NET Page refresh instead update panel -


in project there number of repeaters in page.each repeater contains number of sub items.i want refresh page without using updatepanel control.how can achieve through ajax.again mentioning page contains large number of controls.

since i'm not quite sure trying achieve i'm going give couple of possible solutions problem whithout using update panels (which in opinion, think should use in case).

from server side can try:

page.response.redirect(page.request.url.tostring(), true); 

client side:

after page rendered client browser there 2 possible ways force refresh. can use javascript or meta tag.

  • javascript:

    settimeout("location.reload(true);", timeout); 
  • meta tag:

    <meta http-equiv="refresh" content="600"> 

you can set refresh intervals on server.

hope helps.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -