CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Posts
    177

    Response Redirect issue

    Hi everyone,I have a major problem here...Basically I have two web pages which are Company Background and About Us. The both web page having button to link to each other using Response.Redirect. When I execute them in localhost from VS2005,it run smoothly without error. So I am trying to save the both page as Web Page,Complete from IE. But when I try to execute them from IE without using VS2005,the error occured saying that it can't link to another page where it can run in VS2005.


    What problem is this??


    My code will be something like this:

    Code:
    Response.Redirect("AboutUs.aspx");

  2. #2
    Join Date
    Nov 2007
    Location
    .NET 3.5 / VS2008 Developer
    Posts
    624

    Re: Response Redirect issue

    try

    Code:
    Response.Redirect("~/AboutUs.aspx");

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured