It is easy to reset to create a page for it in ASP.NET by redirecting to itself. Here are 3 ways to do this:
- Response.Redirect (Request.Path);
In which the path to the request is presented in the following form: /MyApp/MyFile.aspx
- Response.Redirect (Request.RawUrl);
In which not only the path is open, but also any request parameters: /MyApp/MyFile.aspx?foo=bar
- Response.Redirect(Request.Url.ToString());
querystring, :
MyServer/MyApp/MyFile.aspx? Foo =