search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How add images to eventboxes

Asked by harshad jadhav
11 years ago.

Hello All,

I want to all some images to event box. Just like we have delete image.
and i want specific functionality on them.

Thanks and Regars,
Harshad Jadhav

Answer posted by Allen
11 years ago.

Not sure if this is exactly what you're looking for, but you can do something like this in _BeforeEventRender:

e.InnerHTML = "<img src='img.png' onclick='alert(this)' />" + e.Tag["evt_nm"];

Comment posted by harshad jadhav
11 years ago.

Thanks Allen,

Now, I can put the images on event, but those are comming left align. i want it to be right align next to delete image. how to do that.

Thanks in Advance,
Harshad Jadhav

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.