<a href="#" runat="server" önclick="<% getPKWhales();%>" style="height:7px;width:40px;border:outset">PK</a>
The function
public void getPKWhalse()
{
SessionHandler.wMenu = SessionHandler.MenuVariable.WHALES;
Session["who"] = "pkwhales";
SessionHandler.RedirectPage("~/form/whales.aspx");
}
Ccan i call the above getPKWhale() function in onclick event of a href tag,
which is not worked in my project, what else i wants to do , to call that function