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

MasterPage structure and AJAX-ed splitters

1 Answer 91 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Graham
Top achievements
Rank 1
Graham asked on 07 May 2008, 07:22 PM
I am in the process of designing an application with an Outlook-style layout.

There are two main "columns", left and right, which correspond to two RadPanes / RadSplitter.

The left column contains a treeview inside a panelbar. This treeview is intended to "control" the content of the right hand column. The content needs to be a series of separate ASPX pages as they contain very different content and functionality.

How can I avoid refreshing (i.e. AJAX-ify) when navigating between the different treeview nodes / ASPX pages? Can I dynamically load in a page to the right RadPane without refreshing?

At the moment I have a masterpage with the RadPanes and Treeview on, with an "empty" default.aspx page, but when navigating between the nodes/pages the whole browser refreshes.

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 10 May 2008, 07:01 AM
Hi Graham,
You can use the following approach:
<telerik:RadSplitter ID="RadSPlitter1" runat="server">  
    <telerik:RadPane ID="RadPane" runat="server">  
        <telerik:RadTreeView id="RadTreView1" runat="server">  
            <Nodes> 
                <telerik:RadTreeNode Text="First" NavigateUrl="First.aspx"   
Target="RadPane1"></telerik:RadTreeNode> 
                <telerik:RadTreeNode Text="Second" NavigateUrl="Second.aspx"   
Target="RadPane1"></telerik:RadTreeNode> 
            </Nodes> 
        </telerik:RadTreeView> 
    </telerik:RadPane> 
    <telerik:RadPane ID="RadPane1" runat="server" ContentUrl="about:blank"></telerik:RadPane> 
</telerik:RadSplitter> 

, where the Target for the nodes should be the ClientID of the RadPane.

Greetings,
Tsvetie
the Telerik team

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