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

Show/Hide instance of ImageUrl

1 Answer 50 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
SungamRammah
Top achievements
Rank 1
SungamRammah asked on 04 Feb 2009, 04:40 AM
I hope you wont mind a question from a trial user.

I have figured out how to detect if a OnClientItemClicked was clicked on the instance of imageURL. But I would also want to Show Hide and Replace this image from other events on the page. Obviously it doesn't work by changing the value of ImageUrl so I was hoping for some pointers in the right direction here.

/Magnus

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 06 Feb 2009, 08:40 AM
Hello SungamRammah,

For now the only option is to to set the "src" attribute of the image:

item.get_imageElement().src = "test.gif";

Removing the image is not supported. You can use some transparent image for that purpose.
Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
PanelBar
Asked by
SungamRammah
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or