OK Only message box in ASP.NET

danabare

Member
Joined
Jul 1, 2003
Messages
8
I want to display a message box if the user tries to delete an item in a DataGrid control that cannot be deleted due to a FK constraint. I already have the code to check if the PK is used as a FK but just need to code to display an OK Only box.

Thanks :D
 
You can use either Javascript or VBScript, just use "MyControl.Attributes.Add" to add your scripting to client site.
 
Back
Top