<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>

<%@ 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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <div>
            <telerik:RadGrid ID="RadGrid1" OnNeedDataSource="RadGrid1_NeedDataSource" runat="server"
                AllowPaging="false" AllowSorting="True" GridLines="None" BorderWidth="0" PageSize="5"
                BackColor="White" GroupingEnabled="False" CellSpacing="0" Width="750">
                <MasterTableView Name="RepMaster" CommandItemDisplay="Top" BorderStyle="Solid" BorderWidth="1"
                    BorderColor="Black" TableLayout="Fixed">
                    <HeaderStyle HorizontalAlign="Center" />
                    <ItemStyle HorizontalAlign="Center" />
                    <AlternatingItemStyle HorizontalAlign="Center" />
                    <CommandItemTemplate>
                        <table border="0" style="width: 100%;">
                            <tr>
                                <td align="left" style="width: 125px;">
                                    <asp:Button CausesValidation="false" CommandName="InitInsert" runat="server" ID="btnAddNewRecord"
                                        Text=" " title="Add new record" CssClass="rgAdd" />
                                    <asp:LinkButton CausesValidation="false" ID="lnkbAddNewRecord" CommandName="InitInsert"
                                        runat="server" CssClass="Link">Add new Record</asp:LinkButton>
                                </td>
                                <td align="center">
                                </td>
                                <td align="right" style="width: 125px;">
                                    <asp:Button CausesValidation="false" CommandName="RebindGrid" runat="server" ID="btnRefresh"
                                        Text=" " title="Refresh" CssClass="rgRefresh" />
                                    <asp:LinkButton CausesValidation="false" ID="lnkbRefresh" CommandName="RebindGrid"
                                        runat="server" CssClass="Link">Refresh</asp:LinkButton>
                                </td>
                            </tr>
                        </table>
                    </CommandItemTemplate>
                    <CommandItemStyle BackColor="AliceBlue" Width="500" />
                    <Columns>
                        <telerik:GridTemplateColumn UniqueName="RepMasterEdit" HeaderText="Edit">
                            <ItemTemplate>
                                <asp:ImageButton ID="imgbEdit" runat="server" CausesValidation="False" CommandName="Select"
                                    CssClass="Link" ImageUrl="~/Images/btnEdit.gif" ToolTip="Edit" />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                    </Columns>
                </MasterTableView>
                <ClientSettings EnableRowHoverStyle="True">
                    <Selecting AllowRowSelect="True" EnableDragToSelectRows="False"></Selecting>
                    <Scrolling AllowScroll="True" ScrollHeight="300px" UseStaticHeaders="true"></Scrolling>
                </ClientSettings>
            </telerik:RadGrid>
        </div>
    </form>
</body>
</html>
