Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying messages
Message
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00927120
Message ID:
00927173
Views:
16
>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

Previous
Reply
Map
View

Click here to load this message in the networking platform