Get URL from RadAjaxManager OnRequestEventStart

3 posts, 0 answers
  1. Robin
    Robin avatar
    41 posts
    Member since:
    Sep 2012

    Posted 27 Nov 2012 Link to this post

    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. Andrey
    Admin
    Andrey avatar
    836 posts

    Posted 30 Nov 2012 Link to this post

    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.
  3. Robin
    Robin avatar
    41 posts
    Member since:
    Sep 2012

    Posted 30 Nov 2012 Link to this post

    Yes! I got it!
    Thanks Andrey.
Back to Top