Hi,
i've got a problem using the RadTreeView.
I have a simple RadTreeview, which send some Javascript Arguments to a RadXmlHttpPanel using OnClientNodeClicked:
It works well.
But i have to add another RadXmlHttpPanel under this one with a RadGrid inside (Following Telerik sample).
I put a OnNeedDataSource="RadGrid1_NeedDataSource" on my RadGrid in order to fill it, and i tried this in code behind:
But it fails. i've trying to find a solution for 2 days now, but i don't know how to catch my treeview value. Any help? thanks
Nicolas
i've got a problem using the RadTreeView.
I have a simple RadTreeview, which send some Javascript Arguments to a RadXmlHttpPanel using OnClientNodeClicked:
| function OnClientNodeClicked(sender, args) { |
| var node = args.get_node(); |
| node.select(); |
| var panel = $find("<%=RadXmlHttpPanel1.ClientID%>"); |
| panel.set_value(node.get_value()); |
| } |
| <telerik:RadXmlHttpPanel ID="RadXmlHttpPanel1" runat="server" |
| Value="EMPTY" |
| LoadingPanelID="RadAjaxLoadingPanel2" |
| OnServiceRequest="XmlHttpPanel_ServiceRequest" |
| Height="180px" |
| Width="280px" |
| EnableClientScriptEvaluation="true" |
| ></telerik:RadXmlHttpPanel> |
It works well.
But i have to add another RadXmlHttpPanel under this one with a RadGrid inside (Following Telerik sample).
I put a OnNeedDataSource="RadGrid1_NeedDataSource" on my RadGrid in order to fill it, and i tried this in code behind:
| Dim s As String = RadTreeView1.SelectedValue |
| RadGrid1.DataSource = MyFunction(s) |
But it fails. i've trying to find a solution for 2 days now, but i don't know how to catch my treeview value. Any help? thanks
Nicolas