-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: s_hashim
Message 4 in Discussion
Hi Ajay
Try this out
this is for web application I am
explaining
Add one hidden variable in the code behind aspx
file
<INPUT id="hdnbox" type="hidden"
runat="server">
and in aspx.vb file u must
declare
Protected WithEvents hdnbox As
System.Web.UI.HtmlControls.HtmlInputHidden
when you create any hyper link in datagrid add
Onclick="getMessage()"
Add this javascript in .html
code
//Function for Popup window Delete
Confirm
function
getMessage()
{
var
ans;
ans=window.confirm('Do You want to Delete
?');
if
(ans==true)
{
document.Form1.hdnbox.value='Yes';
}
else
{
document.Form1.hdnbox.value='No';}
}
By the getting the value of Hidden variable u can
further proceed.
Keep Smiling,
Regards.
Sayad Hashim Ali Kazi
SQL Star International Ltd.
SQL
House,
#13,Infocity,Madhapur,
Hyderabad 500033.
Tel:
+91-40-23101625(Off)
+91-40-55365573(Res)
e-mail:
[EMAIL PROTECTED]
website: www.sqlstarintl.com
-----Original Message-----
From: BDOTNET
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 8:47
AM
To: BDOTNET
Subject: delete
confirmation
New Message on BDOTNET
delete
confirmation
Reply
Recommend
Message 1 in
Discussion
From: AjayThacker
i have added a hyperlink control in datagrid for delete.
when the user clicks on the delete, i want to display a client
side alert box for delete confirmation. if the user confirms
that he wants to delete then the current record should be
deleted. how do i do
this?
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]