I tried to use the AddItemByPath method with and without the separator parameter.
The only result I had was a list of stuff with no hierarchy.
If I give it this:
"root\\toto1"
"toot\\toto2"
I just get something like:
"root\toto1"
"toot\toto2"
And if I give this:
"root\\\\toto1"
"toot\\\\toto2"
I get this:
"\toto1"
"\toto2"
When I would expect something like:
"root"
"toto1"
"toto2"
How am I suppose to use AddItemByPath?
Thanks,
Pascal
The only result I had was a list of stuff with no hierarchy.
If I give it this:
"root\\toto1"
"toot\\toto2"
I just get something like:
"root\toto1"
"toot\toto2"
And if I give this:
"root\\\\toto1"
"toot\\\\toto2"
I get this:
"\toto1"
"\toto2"
When I would expect something like:
"root"
"toto1"
"toto2"
How am I suppose to use AddItemByPath?
Thanks,
Pascal
5 Answers, 1 is accepted
0
Accepted
Hello Pascal,
Thank you for the feedback,
Yes - this is the way it is working now. It is NOT buliding the hierarchy. Currently only the last item from the path is added. Do you think it will be usefull if we provide you with a similar method which builds the entire missing hierarchy from the path that you are trying add?
Regards,
Valentin.Stoychev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thank you for the feedback,
Yes - this is the way it is working now. It is NOT buliding the hierarchy. Currently only the last item from the path is added. Do you think it will be usefull if we provide you with a similar method which builds the entire missing hierarchy from the path that you are trying add?
Regards,
Valentin.Stoychev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Pascal
Top achievements
Rank 1
answered on 31 Oct 2008, 04:28 PM
Thanks for the reply Valentin.
Yes I think creating the missing hierarchy would be very useful to quickly and simply create a tree. At least more useful than the current implementation of AddItemByPath in my opinion, which is simply creating a list. It would also give another option to the dev to create a tree.
Yes I think creating the missing hierarchy would be very useful to quickly and simply create a tree. At least more useful than the current implementation of AddItemByPath in my opinion, which is simply creating a list. It would also give another option to the dev to create a tree.
0
Hello Pascal,
Thanks for the feedback - we will implement this within the Service Pack release, after the official one that is next week.
Regards,
Valentin.Stoychev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thanks for the feedback - we will implement this within the Service Pack release, after the official one that is next week.
Regards,
Valentin.Stoychev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jonathan Miller
Top achievements
Rank 1
answered on 21 Nov 2008, 01:30 PM
Hi Valentin, has the nested capability been added in the current release for AddItemByPath method?
0
Hi Jonathan Miller,
No - this was not added with the GridRelease. It is scheduled for the SP that is coming in December.
Best wishes,
Valentin.Stoychev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
No - this was not added with the GridRelease. It is scheduled for the SP that is coming in December.
Best wishes,
Valentin.Stoychev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.