I have a link button inside the asp.net repeater control. I am trying to call the serverside method on the click event but no luck. I tried html anchor but it is not working so I switched to link button.
<ItemTemplate>
<li class="showmenu">
<p class="subtext"> <asp:LinkButton ID="LinkButton1" runat="server" onclick="frontimagechange_click">Front</asp:LinkButton></p>
<a href="#"><img id="Img1" src='<%# this.ResolveUrl("~/testimages/" + Eval("front")) %>' width="350" height="560" alt='<%# Eval("stylenumber") %>' runat="server" align="left" /></a>
</li>
</ItemTemplate>
server-side code:
protected void frontimagechange_click(object sender, EventArgs e)
{
//code to get the id of link button and change the
//src of the image control inside the repeater
}