ascx question

  • Thread starter Thread starter DaveF
  • Start date Start date
D

DaveF

I have a ascx page with a search function that I include in every page. How
can I redirect the page to the same place when it is on a page 2 folders
down or 3 folders down?
 
use Response.Redirect("~/yourpage.aspx");

The important think to note is the '~' this will resovle to the root of your
application on the webserver.

MattC
 
Back
Top