1.

How Can I Specify The Relative Path For A File?

Answer»

SUPPOSE you have following FILE hierarchy:

default.aspx
Admin/login.aspx
Misc/testpage.aspx

And you are on the login.aspx and want your user to NAVIGATE to the default.aspx (or testpage.aspx) file. Then you can USE

  • Response.Redirect ("../default.aspx").
  • Response.Redirect ("../Misc/testpage.aspx").

Suppose you have following file hierarchy:

default.aspx
Admin/login.aspx
Misc/testpage.aspx

And you are on the login.aspx and want your user to navigate to the default.aspx (or testpage.aspx) file. Then you can use



Discussion

No Comment Found