To refresh or redirect ASP.NET page to another web page you should use the Refresh META tag: <META HTTP-EQUIV=”Refresh” CONTENT=”5;url=https://yourURL” /> In this case the web page will be refreshed/redirected after 5 seconds. Related tutorials: Events in GridView control How to store custom objects in a View state using C# How to use XmlTextWriter formatting in C# How to handle web control events with AutoPostBack in ASP.NET