Monday, May 9, 2011

Redirection to a new Aspx Page

This is a quick blog about how you can redirect to another page.

Response.Redirect("~/Path/To/Your/File");

This code is very simple you just call the 'Response' scope and the method "Redirect" and input the path and the file you want to redirect to as a string. And when the code is hit in your site it will redirect to your inputed content page.

No comments:

Post a Comment