Hi,
In you documentation you suggest binding the object being described by the node to the Tag property. I wonder if this could be taken one step further for those of us who are using data binding and automatically bind objects contained in an Array or List to the Tag? This feature would of course have to be able to be turned on and off. If you didn’t want to auto link it to the Tag creating a new property would also be cool.
Cheers,
Brad
In you documentation you suggest binding the object being described by the node to the Tag property. I wonder if this could be taken one step further for those of us who are using data binding and automatically bind objects contained in an Array or List to the Tag? This feature would of course have to be able to be turned on and off. If you didn’t want to auto link it to the Tag creating a new property would also be cool.
Cheers,
Brad
6 Answers, 1 is accepted
0
Hi Brad,
Thank you for writing.
Currently, when RadTreeView is bound, the values of the data source field set as ValueMember are stored in the Tag property of the tree nodes. We are considering adding a feature that will allow storing not only ValueMember and DisplayMember in nodes but also other fields form the data source. Do you think that such functionality will be helpful? Or do you have any other suggestions?
I am not sure that I fully understand what you mean by "automatically bind objects contained in an Array or List to the Tag". Could you give an example to clarify?
Sincerely yours,
Jordan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for writing.
Currently, when RadTreeView is bound, the values of the data source field set as ValueMember are stored in the Tag property of the tree nodes. We are considering adding a feature that will allow storing not only ValueMember and DisplayMember in nodes but also other fields form the data source. Do you think that such functionality will be helpful? Or do you have any other suggestions?
I am not sure that I fully understand what you mean by "automatically bind objects contained in an Array or List to the Tag". Could you give an example to clarify?
Sincerely yours,
Jordan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Brad
Top achievements
Rank 2
answered on 19 Jul 2008, 07:00 AM
Hi Jordan,
That’s fairly easy to explain. I often create a List or Array of Objects.
For example I may have an object “Pipe” which contains many parameters and functions. Suppose several of those pipes are connected and want to display them individually in your tree view. I could create a List of Pipes and then bind it to your tree view so they can be selected individually.
What I would like to be able to do is reference the original object that it was bound to through the Tree Nodes; for example “(Pipe)MyTreeNode.Tag” would link back directly to the Pipe in my List.
Does this make things clearer?
Thanks,
Brad
That’s fairly easy to explain. I often create a List or Array of Objects.
For example I may have an object “Pipe” which contains many parameters and functions. Suppose several of those pipes are connected and want to display them individually in your tree view. I could create a List of Pipes and then bind it to your tree view so they can be selected individually.
What I would like to be able to do is reference the original object that it was bound to through the Tree Nodes; for example “(Pipe)MyTreeNode.Tag” would link back directly to the Pipe in my List.
Does this make things clearer?
Thanks,
Brad
0
Hello Brad,
Thank you for the example. Now I see your point.
Indeed, that is a nice feature. I cannot add it to the list for the Q2 2008 release as it is feature frozen now.
I will however add it to the list for the Q2 2008 SP1 release with high priority.
Greetings,
Jordan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for the example. Now I see your point.
Indeed, that is a nice feature. I cannot add it to the list for the Q2 2008 release as it is feature frozen now.
I will however add it to the list for the Q2 2008 SP1 release with high priority.
Greetings,
Jordan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Stargazer
Top achievements
Rank 2
answered on 20 Nov 2008, 12:00 PM
Hello!
Jordan, or anyone who may be able to respond, is this feature implemented ? If so, how to turn it on or how to use it. I have a scenario here that can benefit a lot with it.
Thanks!
Jordan, or anyone who may be able to respond, is this feature implemented ? If so, how to turn it on or how to use it. I have a scenario here that can benefit a lot with it.
Thanks!
0
Hello Stargazer,
We did consider that feature, but unfortunately it was dropped due to other tasks with higher priority. However I am working on it at the moment and it will be available in the upcoming Q3 2008 SP1 release (due at the beginning of December).
Sincerely yours,
Jordan
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
We did consider that feature, but unfortunately it was dropped due to other tasks with higher priority. However I am working on it at the moment and it will be available in the upcoming Q3 2008 SP1 release (due at the beginning of December).
Sincerely yours,
Jordan
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Stargazer
Top achievements
Rank 2
answered on 21 Nov 2008, 04:39 PM
Hello Jordan!
Always too late... hehehe
More seriously, cool news. Even though I implemented my own solution for it, there is always time and place for improvements. ;) I'll be waiting for Q3 SP1 then. ;)
Always too late... hehehe
More seriously, cool news. Even though I implemented my own solution for it, there is always time and place for improvements. ;) I'll be waiting for Q3 SP1 then. ;)