This is a migrated thread and some comments may be shown as answers.

Get Request.UrlReferrer

1 Answer 91 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
solutionfactory
Top achievements
Rank 1
solutionfactory asked on 04 Jun 2008, 03:26 PM
Hi all,
I have a page (A) that uses a Response.Redirect method to redirect to a second page (B). On page B in the page load I have code that sets a viewstate to Request.UrlReferrer.ToString().
The page errors out on load with a "Object reference not set to an instance of the object" error.
I assume it has to do with the redirect using the AspNet Ajax on page A.
Any ideas on how to fix this so I can use UrlReferrer?

Thanks in andvance

Best regards,
Flavio

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Jun 2008, 01:44 PM
Hello fcometto,

This is "inherited" by ASP.NET AJAX and it seems that is not supported. More info is available in this forum thread.

Regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
solutionfactory
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or