<%@ 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.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadGrid ID="gridProducts" runat="server" AllowPaging="True" AutoGenerateColumns="False"
        GridLines="None" Skin="Outlook" Width="675px" ShowFooter="True" OnNeedDataSource="RadGrid1_NeedDataSource">
        <HeaderContextMenu EnableImageSprites="True">
        </HeaderContextMenu>
        <MasterTableView PageSize="5">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <RowIndicatorColumn>
                <HeaderStyle Width="20px"></HeaderStyle>
            </RowIndicatorColumn>
            <ExpandCollapseColumn>
                <HeaderStyle Width="20px"></HeaderStyle>
            </ExpandCollapseColumn>
            <Columns>
                <telerik:GridTemplateColumn HeaderText="Item" UniqueName="CustomerID">
                    <ItemTemplate>
                        <telerik:RadBinaryImage ID="rbiItem" runat="server" /><br />
                        <asp:LinkButton ID="lnkView" runat="server">View Details</asp:LinkButton>
                    </ItemTemplate>
                    <ItemStyle VerticalAlign="Top" HorizontalAlign="Center" Width="125px" />
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn HeaderText="Item Description" UniqueName="ContactName">
                    <ItemTemplate>
                        <asp:Label ID="lblItem" CssClass="ItemName" runat="server" Text="dhgbfhdfg"></asp:Label>
                        <br />
                        <asp:Label ID="lblDescription" runat="server" Text="dafgdfg"></asp:Label>
                    </ItemTemplate>
                    <ItemStyle VerticalAlign="Top" />
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn HeaderText="Price" UniqueName="CompanyName">
                    <ItemTemplate>
                        <asp:Label ID="lblPrice" runat="server" Text="ttttttttttttt"></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                    <ItemStyle HorizontalAlign="Right" Width="50px" />
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn HeaderText="Buy Now">
                    <ItemTemplate>
                        <asp:ImageButton ID="imgCart" CommandName="Add" runat="server" />
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                </telerik:GridTemplateColumn>
            </Columns>
            <EditFormSettings>
                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                </EditColumn>
            </EditFormSettings>
            <PagerStyle AlwaysVisible="True" />
        </MasterTableView>
        <ClientSettings>
            <Selecting AllowRowSelect="True" />
        </ClientSettings>
        <FilterMenu EnableImageSprites="False">
        </FilterMenu>
    </telerik:RadGrid>
    </form>
</body>
</html>
