You can not evoke onclick event in repetaer or any data controls
check this..
http://msdn.microsoft.com/en-us/library/df6hth3s(v=vs.100).aspx[
^]
OR
.aspx
------------------
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" OnCommand="LinkButton1_Command" CommandName="MyUpdate" CommandArgument='<%# Eval("erid") %>'>LinkButton</asp:LinkButton>
</ItemTemplate>
</asp:Repeater>
.cs
------------------
protected void LinkButton1_Command(object sender, CommandEventArgs e)
{
if (e.CommandName == "MyUpdate"){
}
}