Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 182189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:53:45+00:00 2026-05-11T14:53:45+00:00

I have gotten mixed up in the past with regards to file paths (relative,

  • 0

I have gotten mixed up in the past with regards to file paths (relative, physical, etc.). With my following project structure:

Solution MySolution - MyProject    -MiniApp Folder      -MiniApp.aspx    -Default.aspx    -Default2.aspx 

Please provide examples on redirection (ex. Response.Redirect(‘~/Default.aspx’)) navigation from:

  1. Default.aspx to MiniApp.aspx
  2. MiniApp.aspx to Default.aspx
  3. Default.aspx to Default2.aspx

using:

  1. Physical Path
  2. Relative Path
  3. Any additional paths that I’ve omitted

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:53:45+00:00Added an answer on May 11, 2026 at 2:53 pm

    you should NOT use physical path to redirect.

    ~ will resolve to the root of YOUR APPLICATION /MyProject

    the code below will redirect to those pages from ANY PAGE

    Response.Redirect('~/Default.aspx'); Response.Redirect('~/Default2.aspx'); Response.Redirect('~/MiniApp/MiniApp.aspx'); 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have gotten the following errors using ruby 1.9.2-p320 with Heroku's Taps-using 'db' commands
After a recent submission I have gotten the following error: Invalid Signature - the
I have been learning Hibernate for the past few weeks, I have gotten most
I'm setting up a new project and have gotten NHibernate to work with structuremap...sorta.
I have gotten the following to work: for i in {2..10} do echo output:
I have gotten a project on my desk. It involves updating the bios for
I have gotten the opportunity to work with Lattix in the past. I believe
Within my project I have gotten this error: Error 1 The type or namespace
I have gotten this error in the strings.xml file: error: Error parsing XML: unbound
I have poured over my code for the past 5 hours and have gotten

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.