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

<!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>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div>
        <telerik:RadGrid runat="server" ID="Radgrid1" EnableLinqExpressions="true" AllowAutomaticUpdates="true"
            AllowPaging="true" AutoGenerateColumns="true" GridLines="None" AutoGenerateEditColumn="true"
            Skin="Default" AllowFilteringByColumn="True" AllowSorting="True">
            <GroupingSettings CaseSensitive="false" />
            <MasterTableView DataKeyNames="ID" CommandItemDisplay="Top">
                <CommandItemTemplate>
                    <table>
                        <tr class="customFont">
                            <td align="left">
                                <b>Bulk Actions</b>
                            </td>
                            <td align="left">
                                <asp:LinkButton ID="btnEditSelected" runat="server" OnClick="btnEditSelected_click">
                                <img style="border:0px;vertical-align:middle;" alt="" src="Images/edit-icon-v5.png" /> Edit Selected</asp:LinkButton>
                                &nbsp;&nbsp;&nbsp;
                            </td>
                            <%-- <td align="left">
                                <asp:LinkButton ID="btnUpdateEdited" runat="server" OnClick="btnUpdateEdited_click">
                                <img style="border:0px;vertical-align:middle;" alt="" src="Images/Updatee.png" /> Update Editing</asp:LinkButton>
                                &nbsp;&nbsp;&nbsp;
                            </td>--%>
                            <td align="left">
                                <asp:LinkButton ID="btnCancel" runat="server" OnClick="btnCancel_click">
                                <img style="border:0px;vertical-align:middle;" alt="" src="Images/delete-icon.png" /> Cancel Editing</asp:LinkButton>
                                &nbsp;&nbsp;&nbsp;
                            </td>
                            <td align="left">
                                <asp:LinkButton ID="LinkButton2" runat="server" CommandName="InitInsert">
                                <img style="border:0px;vertical-align:middle;" alt="" src="Images/add-icon.png" /> Add New Record</asp:LinkButton>
                                &nbsp;&nbsp;&nbsp;
                            </td>
                            <td align="left">
                                <asp:LinkButton ID="LinkButton1" runat="server" CommandName="DeleteSelected">
                                <img style="border:0px;vertical-align:middle;" alt="" src="Images/delete-icon.png" /> Delete Selected</asp:LinkButton>
                                &nbsp;&nbsp;&nbsp;
                            </td>
                            <td align="left">
                                <asp:LinkButton ID="LinkButton4" runat="server" CommandName="Rebind">
                                <img style="border:0px;vertical-align:middle;" alt="" src="Images/Refresh.png" /> Refresh</asp:LinkButton>
                                &nbsp;&nbsp;&nbsp;
                            </td>
                        </tr>
                    </table>
                </CommandItemTemplate>
            </MasterTableView>
            <ClientSettings>
            <Selecting AllowRowSelect="true" />
            </ClientSettings>
        </telerik:RadGrid>
    </div>
    </form>
</body>
</html>
