Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00899140
Message ID:
00919975
Vues:
15
Hi Chris,

This code assumes that you have a button on your page called cmdDelete. This code would go in the Page_Load event handler. What is will do is add client-side script to the page sent to the client.

>Hello Cathi,
>
>Could you show me how to use this code?
>
>cmdDelete.Attributes.Add("onclick", "return confirm (""Are you sure?"");")
>
>I am new in ASP.NET and I haven't found the way yet.
>
>Thanks
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform