<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!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 RowSelect(sender, arg) {
            alert('test');
        }
        function RowClick(sender, arg) {
            alert('RowClick');
        } 

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager runat="server" />
    <div>
        <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" GridLines="None"
            Skin="Vista" AllowFilteringByColumn="true" OnNeedDataSource="RadGrid1_NeedDataSource"
            AllowPaging="true" AllowSorting="true">
            <MasterTableView DataKeyNames="CustomerID" AutoGenerateColumns="true">
            </MasterTableView>
            <ClientSettings>
                <Selecting AllowRowSelect="true" />
                <ClientEvents OnRowClick="RowClick" OnRowSelecting="RowSelect" />
            </ClientSettings>
        </telerik:RadGrid>
    </div>
    </form>
</body>
</html>
