Updating selected node in treeview from RADAJAXRequest

4 posts, 0 answers
  1. Frank Witte
    Frank Witte avatar
    17 posts
    Member since:
    May 2009

    Posted 09 Oct 2009 Link to this post

    Hello Telerik Team,

    I am having on RAD treeview inside inside RadAjaxPanel to handle treeview(on demand loading with webservice) events on server with callbak.Now I want to do some processing on server in "OnContextMenuItemClick" event after which in certain condition I need to call Javascript function where I can take confirmation from user regarding furthure action , if user say "yes" then again I want to go on server and execute on method.
    for second server call I am using RadAjaxManagerProxy  as my master page already have RadAjaxManager. my RadAjaxManagerProxy  setting is as follow



    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy" runat="server" > 
                                <telerik:AjaxSetting AjaxControlID="RadTreeView">  
                                        <telerik:AjaxUpdatedControl ControlID="RadTreeView" /> 
                                        <telerik:AjaxUpdatedControl ControlID="IsShared" /> 

    I am delegating AJAX request in page load to call my method on server .


    RadAjaxManager manager = RadAjaxManager.GetCurrent(Page);  
    manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(RadAjaxManager_RadAjaxRequest); 

    "RadAjaxManager_RadAjaxRequest" method is called and I am doing all my processing inside it. Up till now things are fine but the Issue is I want to update selected treeview node after performing my operation which is somthing not working.

    Can you guid me how I can update selected node in treeview after performing my operation from "RadAjaxManager_RadAjaxRequest"?

    If possible give me some running example which can give me clear understanding.

    Thanks in advance,

  2. Pavlina
    Pavlina avatar
    6187 posts

    Posted 12 Oct 2009 Link to this post

    Hello Frank,

    To avoid duplicate posts, we can continue our communication on the subject in the support ticket that you have opened on the matter.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Ali
    Ali avatar
    7 posts
    Member since:
    Sep 2010

    Posted 08 Nov 2010 Link to this post

    I have the same question. In general how should I send the response back to client after some processing in RadAjaxManager_RadAjaxRequest event handler ?
    I appreciate fast response.
  4. Pavlina
    Pavlina avatar
    6187 posts

    Posted 08 Nov 2010 Link to this post

    Hi Ali,

    You can handle on client OnResponseEnd event which is fired when a response from the server is processed.

    Give it a try and let me know if it helps.

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