N
needin4mation
Hi, I have two links, one function. Both links are wired via the
onclick to the same function.
I want to test in the function which link was clicked and code
accordingly. How?
I have looked around on google groups and could not find it.
Any help is appreciated.
<td><asp:LinkButton id="LinkButton1" runat="server"
OnClick="LinkButton2_Click1">previous</asp:LinkButton>
<asp:LinkButton id="LinkButton2" runat="server"
OnClick="LinkButton2_Click1">next</asp:LinkButton></td>
protected void LinkButton2_Click1(object sender, EventArgs e)
{
how can I tell which link clicked me?
}
Thank you again for any help.
onclick to the same function.
I want to test in the function which link was clicked and code
accordingly. How?
I have looked around on google groups and could not find it.
Any help is appreciated.
<td><asp:LinkButton id="LinkButton1" runat="server"
OnClick="LinkButton2_Click1">previous</asp:LinkButton>
<asp:LinkButton id="LinkButton2" runat="server"
OnClick="LinkButton2_Click1">next</asp:LinkButton></td>
protected void LinkButton2_Click1(object sender, EventArgs e)
{
how can I tell which link clicked me?
}
Thank you again for any help.