This is a migrated thread and some comments may be shown as answers.

[Solved] RadTreeNodeData lacking target variable

1 Answer 73 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ulrich Witschaß
Top achievements
Rank 1
Ulrich Witschaß asked on 27 Apr 2010, 05:32 PM
Hello Telerik Team,

is there a specific reason why the RadTreeNodeData is lacking the possiblity to set the Target Property, while supporting the NavigateURL?

Situation:

I have a page with a RadTreeView and an IFrame. The RadTreeView has it's ExpandMode set to WebService and retrieves it's data on demand from a page method, exactly like in the live demo.

Since I want to open the linked URL in the IFrame, I had to go great extents to supply the target with an additional attribute and open the URL clientside via the nodeclicked-event.

Is there a workaround, or is it planned for future releases to also support the target property with RadTreeNodeData?

best regards

Ulrik

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 29 Apr 2010, 11:46 AM
Hello Marcus Mandel,

Only a few properties are added to the RadTreeNodeData class to reduce the json traffic from the server. Still, you can easily overcome the problem by inheriting that class and add the Target property to your new class as shown here.

I have attached a sample project as well.

Hope this helps.

All the best,
Veskoni
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TreeView
Asked by
Ulrich Witschaß
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or