G
Grant
Im using a datagrid with the property builder to add a 'delete' button
column. Im binding a datareader to the datagrid at runtime and have got an
event handler which fires perfectly. The thing is I would like to add a
confirmation messagebox to to the delete button but I cant get it to work. I
found this sample:
-----------------
Response.Write("<script language='javascript'>window.alert('How're ya going,
mate?');</script>")
-----------------
but that adds to the ASP page, and the datagrid is bound at runtime in code,
so Im not sure how to link the two...
anyone know how I can get some sort of message prompt to confirm the delete?
Im using C# in a web application.
Thanks,
Grant
column. Im binding a datareader to the datagrid at runtime and have got an
event handler which fires perfectly. The thing is I would like to add a
confirmation messagebox to to the delete button but I cant get it to work. I
found this sample:
-----------------
Response.Write("<script language='javascript'>window.alert('How're ya going,
mate?');</script>")
-----------------
but that adds to the ASP page, and the datagrid is bound at runtime in code,
so Im not sure how to link the two...
anyone know how I can get some sort of message prompt to confirm the delete?
Im using C# in a web application.
Thanks,
Grant