How to redirect to another page after definite seconds in Asp.Net by using Response Header class?

 Posted by Vishalneeraj-24503 on 5/16/2015 | Category: ASP.NET Interview questions | Views: 300 | Points: 40
Answer:

By Adding Meta Tag by appending Response Header,we can do:-
Response.AppendHeader("Refresh", "10;url=profile.aspx");

Label1.Text = "You will now be redirected in 10 seconds";


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response