I have the following problem.
There is a table "Account" having following properties.
Number -> prim key
ParentNumber
Name
Description
isParent -> flag indicating if parent
I'm trying to bind this table with the radtreeview. Using the code:
RadTreeView treeView = this.mView.AccountTreeView;
treeView.DisplayMember = "Name";
treeView.ParentMember = "ParentNumber";
treeView.ChildMember = "Number";
treeView.DataSource = this.mDataSet.Account;
treeView.ExpandAll();
This works well and I have the treehierarchy (self referencing), but I would like to customize the displayMember, that not only the name is showned
but the combination between the name and number. For example
Name = justname
Number=112222
What I need are the nodes looking like this
node -> 22222||justname
As you can see it is not just the merging these two fields but also cutting of the first two digits from the number
Another case:
Name = nameTwo
Number=335678
node -> 5678||nameTwo
There is a table "Account" having following properties.
Number -> prim key
ParentNumber
Name
Description
isParent -> flag indicating if parent
I'm trying to bind this table with the radtreeview. Using the code:
RadTreeView treeView = this.mView.AccountTreeView;
treeView.DisplayMember = "Name";
treeView.ParentMember = "ParentNumber";
treeView.ChildMember = "Number";
treeView.DataSource = this.mDataSet.Account;
treeView.ExpandAll();
This works well and I have the treehierarchy (self referencing), but I would like to customize the displayMember, that not only the name is showned
but the combination between the name and number. For example
Name = justname
Number=112222
What I need are the nodes looking like this
node -> 22222||justname
As you can see it is not just the merging these two fields but also cutting of the first two digits from the number
Another case:
Name = nameTwo
Number=335678
node -> 5678||nameTwo