Hello,
I have encountered a problem, trying to expand a node of my treeview
I have tried in two situations
The first one, a simple "test.aspx" page with a treeview, his script manager and an onload function:
And this is perfectly working
If i place the same page inside a splitter, everything stops working, and m_treeview is null
The body of my default.aspx with the splitter is the following
Am i doing something wrong?
I have encountered a problem, trying to expand a node of my treeview
I have tried in two situations
The first one, a simple "test.aspx" page with a treeview, his script manager and an onload function:
function my_onload_expand() { |
var m_treeview = $find("<%= TreeView1.ClientID %>"); |
var node = m_treeview.findNodeByText("Root"); |
node.expand(); |
} |
And this is perfectly working
If i place the same page inside a splitter, everything stops working, and m_treeview is null
The body of my default.aspx with the splitter is the following
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
<telerik:radsplitter id="RadSplitter1" runat="server" height="100%" width="100%" Orientation="Horizontal" Skin="Default2006"> |
<telerik:radpane id="panel_header" runat="server" Height="68" ContentUrl="header.aspx" MaxHeight="68" MinHeight="68"></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="test.aspx"></telerik:radpane> |
<telerik:radsplitbar id="RadSplitbar2" runat="server" CollapseMode="Forward" /> |
<telerik:radpane id="panel_list" runat="server" ContentUrl="list.aspx"></telerik:radpane> |
</telerik:radsplitter> |
</telerik:radpane> |
</telerik:radsplitter> |
Am i doing something wrong?