<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ClientDelete.aspx.cs" Inherits="ClientDelete2" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
            
    function Deleting()
    {
        alert("Deleting");
    }

    function Deleted()
    {
        alert("Deleted");
    }
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:ScriptManager ID="sm" runat="server"></asp:ScriptManager>
    <telerik:RadGrid ID="RadGrid1" runat="server" Width="250px">
        <MasterTableView>
            <Columns>
                <telerik:GridClientDeleteColumn ButtonType="ImageButton" CommandName="Delete" ConfirmDialogType="RadWindow"
                    ConfirmText="Are you sure you want to delete this row?" HeaderStyle-Width="25">
                </telerik:GridClientDeleteColumn> 
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnRowDeleted="Deleted" OnRowDeleting="Deleting" />
        </ClientSettings>
    </telerik:RadGrid>
    
    </div>
    </form>
</body>
</html>
