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

Ajax issue with RadSplitter and RadPanes

1 Answer 59 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Cyril
Top achievements
Rank 1
Cyril asked on 27 Mar 2012, 04:37 PM
Hi,
I have a RadSplitter Control in an aspx page wich contains two RadPanes.The RadPanes Content is loaded from an external source (still pages from my project) thanks to the contentURL property. The rightpane content is loaded dynamically from an event of the leftpane ( a searchbutton click and a node click from a RadTreeView).

In this scenario i would like the content inside the RightPane to be loaded with Ajax.

I read in this forum that in this case, the only way to make it work would be to make an update of the whole RadSplitter.
So i've tried to find a way to programmatically add in the page_load event handler an ajaxsetting to the RadAjaxManager with the RadAjaxPanel where the treeview is embedded as initiator to update the RadSplitter which is in the parent page.

The problem i have is that  i can't get the reference of the splitter control from that parent page server side, i've already figured out how to get the reference client side with javascript but the AjaxSettings.AddAjaxSetting server method only accept the server object references as parameters.

Is there a way to achieve this or am i going the wrong way, will this work ?

Thank you

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 30 Mar 2012, 04:35 PM
Hi Cyril,

The recommended approach to change the ContentUrl property of RadPane is to use its client-side method set_contentUrl() or using a link with target attribute. Please take a look at the following live demo:
Splitter / Client-side API

Regards,
Dobromir
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
Splitter
Asked by
Cyril
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or