My splitter.aspx code :
<telerik:radsplitter id="RadSplitter1" runat="server" height="100%" width="100%" Orientation="Horizontal" Skin="Default2006"> |
<telerik:radpane id="panel_header" runat="server" Height="68" MaxHeight="68" MinHeight="68">header</telerik:radpane> |
<telerik:radsplitbar id="RadSplitbar1" runat="server" CollapseMode="Forward" /> |
<telerik:radpane id="contentPane" runat="server" Scrolling="None"> |
<telerik:radsplitter id="RadSplitter2" runat="server" height="100%" width="100%" Skin="Default2006"> |
<telerik:radpane id="panel_menu" runat="server" width="250" ContentUrl="treeview.aspx"></telerik:radpane> |
<telerik:radsplitbar id="RadSplitbar2" runat="server" CollapseMode="Forward" /> |
<telerik:radpane id="panellist" runat="server"></telerik:radpane> |
</telerik:radsplitter> |
</telerik:radpane> |
</telerik:radsplitter> |
this is my treeview.aspx:
<script type="text/javascript"> |
function ClientNodeClicked(sender, eventArgs) |
{ |
var treeNode = eventArgs.get_node(); |
var nodeValue = treeNode.get_text() |
if (nodeValue == "Root") |
{ |
window.open("content1.aspx", "panellist"); |
} |
else if (nodeValue.substring(0, 4) == "node") |
{ |
nodeValue = nodeValue.substr(1, nodeValue.length - 1); |
window.open("content2.aspx", "panellist"); |
} |
} |
</script> |
<telerik:RadTreeView ID="TreeView1" runat="server" OnClientNodeClicked="ClientNodeClicked"> |
<Nodes> |
<telerik:RadTreeNode Text="Root"> |
<Nodes> |
<telerik:RadTreeNode Text="node1" /> |
<telerik:RadTreeNode Text="node2" /> |
</Nodes> |
</telerik:RadTreeNode> |
</Nodes> |
</telerik:RadTreeView> |
when I click the node in the treeview, then screen a content in a pop page, how screen the content in the radpane(panellist) and not refresh all the page??
Thanks.