user3340627
user3340627

Reputation: 3143

How to redirect to a page in another folder?

This is a rather simple question but i'm a bit confused about it:

My solution contains Folders A & Folder B
FolderA contains aspx pages 1 & 2
FolderB contains aspx pages 3 & 4

From Page 2 I need to open page 4

I've tried using the following: "~/FolderB/Page4.aspx" but this didn't work and was translated as "/FolderA/~/FolderB/Page4.aspx" which doesn't exist.

What is the correct path to Page4 from Page2 ?

Upvotes: 0

Views: 919

Answers (1)

user3340627
user3340627

Reputation: 3143

The working solution : "../FolderB/Page4.aspx"

Upvotes: 2

Related Questions