-->>> How do I incorporate it into my code?
What means?
----- Original Message -----
From: "sas0riza" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 4:01 AM
Subject: [AspNetAnyQuestionIsOk] How to Confirm a Delete in an ASP.NET Datagrid
> I would like to delete a record, but only after confirmation.
>
> I have this JS function:
>
> <script language="javascript">
> function confirm_delete()
> {
> if (confirm("Are you sure you want to delete this item?")==true)
> return true;
> else
> return false;
> }
> </script>
>
>
> How do I incorporate it into my code?
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor --------------------~-->
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
> --------------------------------------------------------------------~->
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/