Jul 11, 2005 #1 P PROKA Junior Contributor Joined Sep 3, 2003 Messages 249 Location Bucharest with "../" you go up a level what If I want to go directly to the root. I don't know in which folder I am, and I want to go directly to the root
with "../" you go up a level what If I want to go directly to the root. I don't know in which folder I am, and I want to go directly to the root
Jul 11, 2005 #2 P PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,471 Location Lancashire, UK "/" should do it
Jul 11, 2005 #3 P PROKA Junior Contributor Joined Sep 3, 2003 Messages 249 Location Bucharest well I tried like that but it doesn't work
Jul 11, 2005 #4 P PROKA Junior Contributor Joined Sep 3, 2003 Messages 249 Location Bucharest OK I got it, / takes you to the root of the server, I thought it's supposed to take you to the root of the Prokect . so all I had to do was to put /ProjectName/ before
OK I got it, / takes you to the root of the server, I thought it's supposed to take you to the root of the Prokect . so all I had to do was to put /ProjectName/ before
Jul 13, 2005 #5 B bri189a Senior Contributor Joined Sep 11, 2003 Messages 1,004 Location VA "~" will do it. Response.Redirect("~/One/Two/Three.aspx") This will take you to that page whether you are in the one folder, two folder, root folder, some other folder 18 levels deep, etc.
"~" will do it. Response.Redirect("~/One/Two/Three.aspx") This will take you to that page whether you are in the one folder, two folder, root folder, some other folder 18 levels deep, etc.
Jul 13, 2005 #6 P PROKA Junior Contributor Joined Sep 3, 2003 Messages 249 Location Bucharest bri189a said: "~" will do it. Response.Redirect("~/One/Two/Three.aspx") This will take you to that page whether you are in the one folder, two folder, root folder, some other folder 18 levels deep, etc. Click to expand... Cool. Now I know two ways . Yours is the easiest
bri189a said: "~" will do it. Response.Redirect("~/One/Two/Three.aspx") This will take you to that page whether you are in the one folder, two folder, root folder, some other folder 18 levels deep, etc. Click to expand... Cool. Now I know two ways . Yours is the easiest