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

Radsplitter ajaxifying right pane based on radtreeview in left pane.

3 Answers 37 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Chetan
Top achievements
Rank 1
Chetan asked on 08 Sep 2012, 12:02 AM
I am using radajaxmanager in master. What I have is in left pane there is a radtreeview with Node expandmode=server. On the right pane I have radmulitilage which loads different usercontrol in codebehind. What I want to achieve is update radmulitiPage on right ONLY on nodeclick of radtreeview in left pane and not onnodeexpand. In ajaxproxy I specify the eventname but still refreshes right pane radmulitilage on any click in treeview. Thanks for help !

3 Answers, 1 is accepted

Sort by
0
Chetan
Top achievements
Rank 1
answered on 09 Sep 2012, 03:20 PM
Any help asap appreciated ?
0
Chetan
Top achievements
Rank 1
answered on 10 Sep 2012, 04:43 PM
0
Tsvetoslav
Telerik team
answered on 12 Sep 2012, 01:09 PM
Hi Chetan,

This functionality is not supported. However, I can suggest you the following work-around:

1. Add an ajax setting where RadAjaxManager is the updating control and the multipage on the right is the updated  one.

2. Attach a server-side event handler to the OnAjaxRequest event of the RadAjaxManager

2. Attach a client-side event handler to the TreeView's OnNodeClick event.

3. In the client-side event handler throw an ajax request using RadAjaxManager's client-side ajaxRequest() method.

4. This will effectively go to the server-side OnAjaxRequest event handler. In there, do the custom logic you have for updating the multipage on treeview node click.

5. The ajax setting in 1. will make sure that only the multipage is updated and the ajax request triggered from the client in the OnNodeClick event will assure that this is valid only for the treeview node click.

Result,
Tsvetoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
Chetan
Top achievements
Rank 1
Answers by
Chetan
Top achievements
Rank 1
Tsvetoslav
Telerik team
Share this question
or