I guess you are trying to show any message on button click using JavaScript,if yes then try this :
protected void Button1_Click(object sender, EventArgs e)
{
string script = "<script type=\"text/javascript\">alert('Your message!');</script>";
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "alert", script);
}
hope it helps :)
for further queries comment here!!