If you want the alert prior to doing work, the best method, per MSDN, is to
use the Emit Client Script method(s) and add the "attribute" for OnClick to
call the script. If if can be after the click event is finished, you can
Emit the code in the event handler. On the later, if the person refreshes
the page, the popup will come up again, but refresh will also refire the
event handler, so it is a proper action.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
*************************************************
Think outside of the box!
*************************************************
"Guy Cohen" <no*****@please.comwrote in message
news:OU**************@TK2MSFTNGP03.phx.gbl...
Hi all
How do I present questions/messages to the user while I am in a CLICK
event of a button ?
I was told to look for javascript/vbscript but could not make it work.
Please advise
Guy