Calling C# function within javascript
-
I want to prompt the user with a alert message before they continue to delete a record from the database. Can anyone point me in the right direction. Thanks, Steve Nelson
gekoscan wrote: I want to prompt the user with a alert message before they continue to delete a record from the database. Can anyone point me in the right direction. DialgogResult confirm = MessageBox.Show("You sure you wanna do that?); if(confirm == DialogResult.Ok)//Do stuff here [edit]Actually, what you want is to go to the ASP.NET forum. This only works for a Windows Forms application.[/edit]
Hawaian shirts and shorts work too in Summer. People assume you're either a complete nut (in which case not a worthy target) or so damn good you don't need to worry about camouflage... -Anna-Jayne Metcalfe on Paintballing