To add a confirmation to the automatically generated delete button you can add an event handler to the ItemDataBund event of the grid. The code below adds a confirmation message that appears in a dialog box. The message also displays the row data to help the user know what he is deleting.
public void PriceType_RadGrid_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
//Get the Data we want to show to the User
GridDataItem dataItem = e.Item as GridDataItem;
string DataItem = dataItem["PriceType"].Text;
//Add the message to the Button
LinkButton button = e.Item.FindControl("AutoGeneratedDeleteButton") as LinkButton;
button.Attributes["onclick"] = "return confirm('Are you sure you want to delete " +
DataItem + "?')";
}
}