xorpower
xorpower

Reputation: 18963

alert box in asp.net web application

how can i use an alert box in asp.net web application without using javascript with Yes/NO option, much like messagebox in desktop (windows) application.

Thanks

Upvotes: 0

Views: 815

Answers (3)

Josh M.
Josh M.

Reputation: 27773

Write an ActiveX control?

(Please don't do that.)

Upvotes: 0

detaylor
detaylor

Reputation: 7280

You can't create one - although you could make it look like one by using an overlay div and "message box" div. The additional content would need to be controlled on the server so it would require a POST request to the server when displaying and another for submitting the Yes/No click.

Upvotes: 0

Achilles
Achilles

Reputation: 11299

Simple, you can't. That message box object is only for WinForms Development.

Upvotes: 3

Related Questions