Sequential loading of AJAX enabled Web Parts

1 posts, 0 answers
  1. Vedanshu
    Vedanshu avatar
    9 posts
    Member since:
    Sep 2007

    Posted 07 Nov 2007 Link to this post


    We are currently working on developing AJAX enabled webparts for Sharepoint. We have two web parts namely ‘TelerikChartDemo(Web Part 1)’ and ‘TelerikComboDemo (Web Part 2)’. We have added Chart web part twice to observe the sequential web part loading. When we choose any non zero value from combo box. it will refresh the chart web parts in a sequential manner i.e. one chart completes its processing and when it renders then the processing of second chart starts. We are looking for parallel updating of chart web parts.

    These webparts use Telerik RadAJAXpanel. Web part 2 is a provider which gives data to its consumers that are Web part 1 and web part 3.

    All consumers expose a property which returns the client ID of the RadAjaxPanel that they contain. These client ID's are then added as a part of response script by the provider using the code block

    pnl.ResponseScripts.Add(String.Format("window['{0}'].AjaxRequest();", panelID));

    where pnl is also a RadAjaxPanel in the provider (webpart1) containing the dropdown.

    The problem lies when selected index changes and it refreshes consumer web part in sequential manner. What we want is to start the refresh process in parallel.
    Is this possible ?If yes, then can you please recommend a way of achieveing this?

    We tried to load the sample source code but could not find a way to do so. Please let us know if there is a way by which we can send you the sample source.

    Thank you for your help,


Back to Top