How to pass parameters from server to client in ajaxRequest?

2 posts, 0 answers
  1. Vitalii
    Vitalii avatar
    1 posts
    Member since:
    Feb 2011

    Posted 11 Feb 2011 Link to this post

    I have button which launch ajax request. That button manage a panel.
        <telerik:AjaxSetting AjaxControlID="button_launcher">
                <telerik:AjaxUpdatedControl ControlID="panel" />
    I can change size of panel in server-side. But sometimes I need manage other elements which unavailable in server-side. So I want to calculate values and pass it to client-side and then make changes which I need to do. After long searching I did not find how to do that. Now I do it in ugly way - I write this parameters on hidden labels and then parse it in OnResponseEnd function. Can I avoid it somehow?
  2. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 16 Feb 2011 Link to this post

    Hi Vitalii,

    Check out the below article elaborating on how to execute custom javascript after ajax request:

    All the best,
    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