Hello,
I fill a treeview with a ObjectDataSource object. It may be that the ObjectDataSource object does not return a record supplies. Should this be the case, then, a node can be displayed. How can I realize something like that?
Hope you can understand me.
I fill a treeview with a ObjectDataSource object. It may be that the ObjectDataSource object does not return a record supplies. Should this be the case, then, a node can be displayed. How can I realize something like that?
<
telerik:RadTreeView
ID
=
"RadTreeView1"
Runat
=
"server"
DataFieldID
=
"LayoutID"
DataFieldParentID
=
"ParentID"
DataSourceID
=
"ObjectDataSource1"
DataTextField
=
"LayoutName"
DataValueField
=
"LayoutArt"
onnodedatabound
=
"RadTreeView1_NodeDataBound"
Width
=
"100%"
oncontextmenuitemclick
=
"RadTreeView1_ContextMenuItemClick"
>
Hope you can understand me.
- No record from DataSource - own node to be displayed
- Records available from DataSource - no separate node
Best regards
Reiner