Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying messages
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00927120
Message ID:
00927173
Vues:
15
>I was looking in the function/commands area and it looks like msgbox()
>allows you to specify what buttons will show and some other options...
>msgbox(strMyMessage, intMyStyle, strMyHeading)
>
>However when I try to display a message with Yes/No buttons, I get an error.
>
>msgbox("This is a test. Do you want to see another test?", 4, "Test of msgbox buttons and heading")
>
>
>TIA,
>Rick

In webforms you can add a popup to a command button like so
cmdSend.Attributes.Add("onclick", "return confirm (""Are you sure?"");")
That should get you off in the right direction.

HTH,
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform