<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default1.aspx.cs" Inherits="SampleGridViewApplication.Default1" %>

<%@ Register Assembly="CSDRGridView" Namespace="CSDRGridView.Controls" TagPrefix="cc1" %>
<%@ Register Assembly="CSDRGridView" Namespace="CSDRGridView.Controls.Fields" TagPrefix="cc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <cc1:GridView ID="GridView2" runat="server" DataSourceID="SqlDataSource1" CellPadding="4" CustomPagerSettingsMode="CSDRPager" CustomSkin="GreyBlackWhite" CustomSkinAlternateBackgroundColorDisabled="False" DefaultSecurity="ReadOnly" EnableSortGraphic="True" FilterWindowAddFilterDropDownFieldSelectText="--- Please Select ---" FilterWindowAddFilterText="Add a Filter: " FilterWindowCurrentFiltersHeaderText="Current Filters" FilterWindowHeaderText="Apply a Filter Below" ForeColor="#333333" GridLines="Horizontal" RowStyleHighlightBackgroundColor="" RowStyleHighlightTextColor="" SetCSDRStyleSheet="True" ShowAddButton="False" ShowDeleteButton="False" ShowEditButton="False" ShowExportCSV="True" ShowExportExcel="True" ShowExportHTML="True" ShowExportPDF="True" ShowExportWord="True" ShowExtractButton="True" ShowSearchButton="True" ShowTableTitle="True" ShowViewButton="True" TableTitle="Meine erste customer Gridview" ToolTipAddButton="New Item" ToolTipCloseExportWindow="Close Export Window" ToolTipCloseFilterWindow="Close Filter Window" ToolTipDeleteButton="Delete Item" ToolTipEditButton="Edit Item" ToolTipExportCSV="Export CSV" ToolTipExportExcel="Export Excel" ToolTipExportHTML="Export HTML" ToolTipExportPDF="Export PDF" ToolTipExportWord="Export Word" ToolTipExtractButton="Export Item" ToolTipFilterWindowDeleteFilterText="Delete Filter" ToolTipFilterWindowSaveFilterOptionText="Save Filter Option" ToolTipFirstPageButton="First Page" ToolTipLastPageButton="Last Page" ToolTipNextPageButton="Next Page" ToolTipPrevPageButton="Prev Page" ToolTipRefreshButton="Refresh Items and Remove Filters" ToolTipSearchButton="Search Item" ToolTipViewButton="View Item" CellSpacing="4" EmptyDataText="Keine Benutzer definiert" Font-Names="Arial" HorizontalAlign="Center" Caption="Meine erste CC Gridview" CaptionAlign="Top" ShowHeaderWhenEmpty="True">
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                <Columns>
                    <cc1:BoundField DataField="UserName" HeaderText="UserName" SortExpression="UserName" />
                    <cc1:BoundField DataField="LoweredUserName" HeaderText="LoweredUserName" SortExpression="LoweredUserName" />
                    <cc1:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                    <cc1:BoundField DataField="CreateDate" HeaderText="CreateDate" SortExpression="CreateDate" />
                    <cc1:BoundField DataField="LastActivityDate" HeaderText="LastActivityDate" SortExpression="LastActivityDate" />
                </Columns>


                <EditRowStyle BackColor="#999999" />
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" Font-Size="Small" HorizontalAlign="Center" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#E9E7E2" />
                <SortedAscendingHeaderStyle BackColor="#506C8C" />
                <SortedDescendingCellStyle BackColor="#FFFDF8" />
                <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
            </cc1:GridView>
        </div>
    </form>
</body>
</html>
