Re: gridview javascript confirmation popup

Ryan Heath <[email protected]> Mon, 20 Aug 2007 16:45:50 +0200
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
Hi,

Try adding onclick='return confirm("Are you really sure?");' to the
(link)button.

HTH
// Ryan

On 8/20/07, Smotritsky, Alex <[email protected]> wrote:
> In a gridview I'd like to pop up a javascript confirmation dialog to
> allow the user to confirm that they want a server side action taken
> after they click on a control in the gridview like a button or
> linkbutton. Anyone know how to do this?
>
>
>
>
>
>
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com