i want to apply onclick event on a image in the repeater.
i don't know how to do it.
anybody having any idea plz guide me.
thanks in advance
malashukla
0
Light Poster
Recommended Answers
Jump to PostYou should define image in repeater itemdatabound.
And then you can give events to image.In repeater you can define like
HtmlImage img = e.item.FindControl("img") as HtmlImage;
or
Image img = e.item.FindControl("img") as Image;
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.