Setting OnRequestStart from Client Side

2 posts, 1 answers
  1. David
    David avatar
    19 posts
    Member since:
    Nov 2008

    Posted 07 Jun 2010 Link to this post

    Fairly basic question, but one that I have not been able to find the answer to.

    I have a page in which I need to set the OnRequestStart of the RadAjaxManager event handler from the client side based on other functions on the page.  I can easily get the reference to the manager on the client; however setting the event handler does not seem to be available?  Is this true?  If not (I hope) what is the correct method?
  2. Answer
    Nikolay Rusev
    Nikolay Rusev avatar
    2273 posts

    Posted 08 Jun 2010 Link to this post

    Hello David,

    The code bellow demonstrates how you can attach handler on RadAjaxManager.
    var manager = $find("Manager");
    manager["OnRequestStart"] = started;
    manager["OnRequestStart"] = function(){/*code*/};
    function started(sender,args) {/*code*/}

    Best wishes,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft R3 2016 release webinar banner
Back to Top