I have a RadPanel that hosts a few items. One of the items is a Help section where I am trying to simulate the standard help format with a Splitter showing two panels, a left and a right. The left has a RadTreeView and the right has an asp:Literal control.
My plan is to load a hierarcy of help topics based on a URL that is recorded in the help table. So the table has a ParentID column that will hold a value or not. This sets up the grouping of the tree view nodes
- Get the Literal Control instance (this is nested in a RadPane.
- Get the RadTreeView instance.
- Get the selected node.
- Get the object databound to the node.
- Set the Text property of the Literal Control to the "Content" property of my help business object.
This is the only thing I have been successful with to get the Literal object...
+ args.get_node().get_text()); <-- works
literalContent = $(
); <-- returns generic object, how to cast?
tree = <%= ctrlHelpRadTreeView.ClientID %>; <-- returns HTMLDivElement ??
All the client side events below are in place and working...
"border: 1px solid #CBE7F5;"
So the handler I am anticipating and have been working with is the OnNodeClicked.
Can anyone shed some light on how I get the literal and set it's text to the databound object in the TreeView?
The attached file shows how I am adapting it from a demo here on the site. The TreeView is not databound at this time. The image is intended to show the two panes side by side (again, inside the user control). The Literal control is visible in the right panel inside the user control.