Hi,
Could any one help how to auto refresh particular content page only in a master page ?
Thank you in advance.
Regard
Saravanan.S
Loading
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.
Suthish NairPosted Apr 22, 2011, 2:11 AM
Ankit NandekarPosted Apr 22, 2011, 12:58 AM
Here 10 is the amount of time, in seconds, until the browser should reload the current page.
fawzan mohamedPosted Apr 22, 2011, 12:22 AM
Andrew FensterPosted Apr 8, 2011, 8:03 AM
Your page's OnLoad( ) function would fire as if it were not a postback. The selections the user has made in text boxes and drop downs would be gone and the page would be reset.
If you want better control over what happens when the page refreshes, you need to write a custom Refresh( ) method (or whatever you want to call it) for each page. Then you need to call this method somehow. You could do it the way I suggested earlier, or you could do it with an Ajax call or some other way.
There is a drag and drop timer control you can put on your page. You set its properties to say how often if fires. Then you add an event handler to catch the timer event. It's easy, no more complicated than handling any other event like a button click.
Karthikeyan AnbarasanPosted Apr 8, 2011, 6:54 AM
saravanan subramanianPosted Apr 8, 2011, 6:48 AM
is this correct ? if correct where we have to use this code whether master page or content page ?
Thank you in advance.
Regard
saravanan.s
piyush sardharaPosted Apr 8, 2011, 6:32 AM
saravanan subramanianPosted Apr 8, 2011, 6:19 AM
Do you know any idea about "Response.Addheader" concept ?
piyush sardharaPosted Apr 8, 2011, 5:28 AM