As it is a LinkButton, you can specify the Oncommand like OnCommand="lnkClick" and in the code behind you can define the event protected void lnkClick(object sender, CommandEventArgs e) { // your logic here LinkButton lnkBut = (LinkButton)sender; string str = lnkBut.Text; } This is untested. if you provide anything specific then I can help you.. hope this helps..
Many thanks, Balamurugan