See this one, for confirm msg.
<asp:Button runat="server" Text="Try it now" OnClientClick="if(confirm('Format the hard disk?'))
alert('You are very brave!');
else alert('A wise decision!')" style="font-weight: 700; color: #006666"
Width="84px" />
Thank u.