PROKA Posted July 11, 2005 Posted July 11, 2005 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 Quote Development & Research Department @ Elven Soft
Administrators PlausiblyDamp Posted July 11, 2005 Administrators Posted July 11, 2005 "/" should do it Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
PROKA Posted July 11, 2005 Author Posted July 11, 2005 well I tried like that but it doesn't work :( Quote Development & Research Department @ Elven Soft
PROKA Posted July 11, 2005 Author Posted July 11, 2005 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 :) Quote Development & Research Department @ Elven Soft
bri189a Posted July 13, 2005 Posted July 13, 2005 "~" 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. Quote
PROKA Posted July 13, 2005 Author Posted July 13, 2005 "~" 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. Cool. Now I know two ways . Yours is the easiest Quote Development & Research Department @ Elven Soft
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.