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

Animated GIF

2 Answers 253 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Manuel
Top achievements
Rank 1
Manuel asked on 23 Apr 2009, 11:27 PM
Hello,
I like an animated gif on a node of my treeView, but that is not loop forever, only when you expand or collapse the node.
Thanks!!

2 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 24 Apr 2009, 03:23 PM
Hello Manuel,

Thank you for writing.
 
This is an interesting feature that you request. The gif image does not provide any means of stopping the animation, because it has no play/stop functionality (it loops forever). The stopping and starting can be accomplished at a fairly low level by using the graphics object that paints the tree nodes. Our tree view however does not have such functionality. Please excuse us if this causes you an inconvenience - the tree view was not designed with such a feature in mind.

Here is a suggestion that may help in your case. You can change the images, based on the node's state. In a collapsed node you can have a static image, which resembles the GIF. Once the node is expanded, you can change the image to the GIF, which will loop until the node is closed.

Please write back if you have other questions.

 
Greetings,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Manuel
Top achievements
Rank 1
answered on 24 Apr 2009, 03:37 PM
Thank you!!
I try to do and if I did it, they said
Tags
Treeview
Asked by
Manuel
Top achievements
Rank 1
Answers by
Victor
Telerik team
Manuel
Top achievements
Rank 1
Share this question
or