A world of Programming- Gsbprogramming
By Er Gurpreet Singh, Senior Software Engineer, Sopra Steria India
Labels
About
ASP.NET
C&Cpp
C#
CSS
GK
Java
Java EE
JQuery
Notes
Oracle apps
OS
Others
PL/SQL
Programming Quiz
SQL
Thursday, 29 January 2015
Confirmation before deleting in ASP.NET
To ask for confirmation before deleting in ASP.NET when a user clicks a button use the following code:
<
asp:Button ID
=
"btnDel"
runat
=
"server"
OnClientClick
=
"return confirm('Are you sure to delete?')"
Text
=
"Delete"
/>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment