once you try like this am not sure it is working in my project
aName.Attributes["onclick"] = "javascript:OnMoreInfoClick(" + OnMoreInfoClick + ");";
(or)
public void ScriptFunction(string function)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "jscript", function, true);
}
ScriptFunction("window.setTimeout('OnMoreInfoClick ("+ Order +")', 100)");