how to refresh the page in asp.net

Posted by Naveenmanam under ASP.NET on 5/10/2010 | Views : 13395 | Status : [Member] | Replies : 4
how to refresh the page in asp.net tell me simple way

NaveenKumar


Responses

Posted by: Abhi2434 on: 5/10/2010 [Member] [Microsoft_MVP] [MVP] Silver

Up
0
Down
Use this :

javascript: location.reload(true);

This will reload the whole page. Try using it through javascript when required.

www.abhisheksur.com

Naveenmanam, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naveenmanam on: 5/10/2010 [Member] Starter

Up
0
Down
thank you i try this script now ..

NaveenKumar

Naveenmanam, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Er.deepakdalal on: 5/10/2010 [Member] Starter

Up
0
Down
HI Naveenmanam

Try the below command


Page.Response.Redirect(Page.Request.Url.ToString(), true);

Naveenmanam, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naveenmanam on: 5/11/2010 [Member] Starter

Up
0
Down
i got the answer thank you all

NaveenKumar

Naveenmanam, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response