Search code examples
c#.netasp.netvisual-studiorefresh

Refresh Page C# ASP.NET


Is there a Page.Refresh type of command to refresh a page?

I don't want to redirect to the page or refresh in JavaScript.


Solution

  • I think this should do the trick (untested):

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