I want to use a javascript function inside a c# function
protected void button1_Click(object sender,EventArgs e){ //javascript function call ex. /* b
If you're putting this message on an with postback just add the confirm dialog to the OnClientClick attribute like so:
confirm
OnClientClick