I'm using nested RadSplitBar controls. On the left I have a treview used for navigation and on the right is my content pane. Whenever a particular node on the navigation pane is click is loads a URL on my content pane via set_contentURL. The content pane is loaded from my data source which set session vars tied to each entry object. The problem I'm having is capturing the content from each object before the user clicks the navigation to change the url. I would like to traverse the object from the content page and capture the entered data within and event that fired just before it sets or changes to the next content url.
Javascript that changes the content whenever the DB driven node is selected.
<
script type="text/javascript">
function onNodeClicked(sender, args) {
showDetails(args.get_node());
}
function showDetails(node) {
if (node.get_value()) {
var page = node.get_value();
LoadExternalContent(page,
'contentPane');
}
else {
$get(
"details").style.display = "none";
}
}
function LoadExternalContent(url, targetPaneID) {
var splitter = $find("topSplitter");
var pane = splitter.getPaneById(targetPaneID);
if (!pane) return;
if (url == "0") {
return;
}
else {
pane.set_contentUrl(url);
}
}
</script>
Here is the Content pane.
<telerik:RadPane ID="contentPane" Width="50%" Height="675" Scrolling="Y" EnableAjaxSkinRendering="true" runat="server">
</telerik:RadPane>
Any help would be greatly appreciated.
Thank you.