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

Client side node LongDesc

3 Answers 36 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Paul Nascimento
Top achievements
Rank 1
Paul Nascimento asked on 06 May 2010, 07:12 PM
How can I access a node's LongDesc client side?

Thanks

3 Answers, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 07 May 2010, 03:46 PM
Hello Paul Nascimento,

This is an attribute that we do not support for our controls.
Actually In HTML 5 this attribute is deprecated.
Also "longdesc" is only for "<frame>",  "<image>" and "<iframe>".


Regards,
Nikolay Tsenkov
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.
0
Paul Nascimento
Top achievements
Rank 1
answered on 07 May 2010, 03:56 PM
HTML 5 is years away.

This attribute clearly exists in the control, server side.  I can hit "Node. " and a large list of attributes comes up in intellisense, including LongDesc. Can I not trust that list anymore?

That having been said, I use this attribute to embed comma-delimited data associated with that node, for example:
 myNode.LongDesc = "0,1,456";

Can you suggest another attribute that I can use for this purpose, that is available BOTH client AND server side?

Thanks


0
Nikolay Tsenkov
Telerik team
answered on 10 May 2010, 12:46 PM
Hello Paul Nascimento,

Sorry about the misunderstanding! It's my mistake!

We do support this attribute and to be able to access it client-side, you can use the following:
node.get_imageElement().longDesc;

Here we use get_imageElement, because the attribute is used only for images in the RadTreeView (since there can not be frames or iframes).

Again, sorry for misleading you!

Hope this will help you!


Regards,
Nikolay Tsenkov
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
Paul Nascimento
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Paul Nascimento
Top achievements
Rank 1
Share this question
or