This is a migrated thread and some comments may be shown as answers.

Update Accordion panel

1 Answer 241 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Daron
Top achievements
Rank 1
Daron asked on 14 Feb 2008, 01:25 PM
Hi guys,
I'm using the accordion from the ajax toolkit along with RadAjaxManager.

OnClick of each accordion heading I'm loading the content of that panel ajaxically (using RadAjaxManager). I have RadAjaxSettings wired to update the accordion on AjaxRequest event.


The problem is that this causes the entire accordion to be updated with each trip - and all I need is for the panel that I'm opening to update (and hence save round-trip time and network traffic). Is this possible?

The scenario is that I capture the click event of the header (via javascript) and call AjaxRequest event through client-side code. Everything works fine in terms of making the ajax requests. Just want to know if there's a way to do it without updating the entire accordion? I realise I should make each panel a server-side panel (this becoming the "updated" control) but what becomes my "initiating" control? There is no server-side control to initiate the request, it's pure javascript.

Cheers,
Daron

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 18 Feb 2008, 11:01 AM
Hi Daron,

Generally when you are initiating request with javascript, the control initiator is the RadAjaxManager itself. Unfortunately, specifying the manager to update the acordeon panes instead of the acordeon control is not supported at the moment and will not lead to the desired effect.


Sincerely yours,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Daron
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or