try this one also it will work :)
<a id="ascaleUpgarde" runat="server">
href="#">Scale Upgrade</a>
and in the code behind write this
protected void Page_Load(object sender, EventArgs e)
{
ascaleUpgarde.ServerClick +=new EventHandler(fnSetNewControls_Click);
}
protected void fnSetNewControls_Click(object sender, EventArgs e)
{
Response.Write("<script>alert('test')</script>");
}