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

Get URL from RadAjaxManager OnRequestEventStart

2 Answers 43 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Robin
Top achievements
Rank 2
Robin asked on 27 Nov 2012, 08:16 AM
Hi, 
Is there a way to get requested URL from RadAjaxManager - OnRequestStart event?
When that event fire, I want to know the URL of form\page that make the request.

Thanks, 
Robin

2 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 30 Nov 2012, 08:19 AM
Hello,

You could get the URL of the current page by using the following code:

function RequestStart(sedner, args) {
    var url = document.URL;
    alert(url);
}

Greetings,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Robin
Top achievements
Rank 2
answered on 30 Nov 2012, 08:26 AM
Yes! I got it!
Thanks Andrey.
Tags
Ajax
Asked by
Robin
Top achievements
Rank 2
Answers by
Andrey
Telerik team
Robin
Top achievements
Rank 2
Share this question
or