JAVA Script confirmation message on button click

Posted by Rajneesh Verma on ASP.net Weblogs See other posts from ASP.net Weblogs or by Rajneesh Verma
Published on Sat, 26 Feb 2011 05:05:11 GMT Indexed on 2011/02/26 7:25 UTC
Read the original article Hit count: 274

Filed under:
|
|
HI, some times we stuck that how to show confirmation message to do a server side event for example to delete record message should be “Are you sure you want to delete?” so the simplest option is: Code Snippet < asp : Button ID ="Button1" runat ="server" OnClientClick ="return confirm('Are you sure you want to delete?');" onclick ="Button1_Click" Text ="Delete" /> A small tip :) Thanks…...(read more)

© ASP.net Weblogs or respective owner

Related posts about .NET

Related posts about ASP.NET