Hi my brains hurting trying to think of how to do this.
I have a list of asp:hyperlinks created by a repeater. When i click on one of these hyperlinks i want it to pass the value set in the hyperlink into the code behind so i know which hyperlink has been clicked. so...
<asp:Repeater id="rpt1" runat="server">
...some rows of hyperlinks..
<li><asp:HyperLink ID="hlValue" CssClass='example8' NavigateUrl="#"
OnClick="passavalue(books)" >books</asp:hyperlink></li>
...
</asp:repeater>
c#
static void passavalue(string value)
{
response.Write(vlaue);
}
I know this wont work I'm just trying to explain what I'm trying to do.