Server.Transfer & Response.Redirect prob

am trying to redirect to a new page

Page 1 of 1

1 Replies - 6884 Views - Last Post: 19 January 2006 - 11:33 AM Rate Topic: -----

#1 folen  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 07-March 02

Server.Transfer & Response.Redirect prob

Posted 08 December 2005 - 10:12 AM

am trying to go to in new page in my asp.net proj (C#, VS 7 , IIS) :
i got a fram (call it showframe) that get a datagrid with a hyperlink
everything is kk tell i try to dircet

i use a file : red.aspx?tar="thesitetarget" to redirect the problem is that neither Response.Redirect or Server.Transfer works

i tried Response.Redirect first then found out that u can't move to a site outiside your site (like www.yahoo.com) using redirect so i tried Server.Transfer to www.yahoo.com : :sleepy:
but it syaes:
Error executing child request for YAHOO.COM.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Error executing child request for YAHOO.COM.
:crazy:

can anybody help
P.S attached the file red.aspx

Attached File(s)

  • Attached File  red.aspx (602bytes)
    Number of downloads: 19


Is This A Good Question/Topic? 0
  • +

Replies To: Server.Transfer & Response.Redirect prob

#2 sontek  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 8
  • View blog
  • Posts: 283
  • Joined: 13-September 01

Re: Server.Transfer & Response.Redirect prob

Posted 19 January 2006 - 11:33 AM

we need to see the file red.aspx.cs it is the codebehind file which has all the code =)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1