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
Jump to Post
You 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;
Image img = e.item.FindControl("img") as Image;
All 4 Replies
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.