OnAjaxRequest Callback

3 posts, 0 answers
  1. Acaz
    Acaz avatar
    9 posts
    Member since:
    Jan 2011

    Posted 27 Jan 2011 Link to this post

    Exist a Callback to OnAjaxRequest ?

    I'm using the ClientEvents-OnResponseEnd="responseEnd".

    function

     

     

    responseEnd(sender, eventArgs) {
        alert(
    'Response complete');
    }

    This execute when the request END, that's OK, But how i get the return if i want to return some STRING ?

     

  2. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 28 Jan 2011 Link to this post

    Hey,

    You could also try using RadAjaxManager's ResponseScripts collection, which runs JavaScript when the request ends.  That way, you can pass anything from the server to the client (that supports being converted to string) that you like.  You just have to format the script correctly of course.

    HTH.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 31 Jan 2011 Link to this post

    Hello Acaz,

    Please revise the following help topic:
    http://www.telerik.com/help/aspnet-ajax/ajxcustomjavascript.html


    All the best,
    Maria Ilieva
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top