<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" 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">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1"></telerik:RadScriptManager>
    <div>
    <telerik:RadGrid ID="ConfigGrid" runat="server" AutoGenerateColumns="False" 
        OnNeedDataSource="ConfigGrid_NeedDataSource"
        ShowStatusBar="True" AllowPaging="False" AllowSorting="true"> 
        <pagerstyle mode="NextPrevNumericAndAdvanced" /> 
        <mastertableview autogeneratecolumns="False" editmode="InPlace" commanditemdisplay="Top" 
            DataKeyNames="BELawSecCitationDetailID,RowVersion" AllowSorting="true" 
            AllowMultiColumnSorting="true"> 
            <SortExpressions> 
                <telerik:GridSortExpression FieldName="IsAssociated" SortOrder="Descending" /> 
                <telerik:GridSortExpression FieldName="Citation" SortOrder="Ascending" /> 
            </SortExpressions> 
            <EditFormSettings> 
                <EditColumn UniqueName="EditCommandColumn1"> 
                </EditColumn> 
            </EditFormSettings> 
            <CommandItemTemplate> 
                <div style="float: right;"> 
                    <asp:LinkButton ID="RefreshRadGridLookupButton" runat="server" 
                        CommandName="RebindGrid" SkinID="swGridRefreshLinkButton">
                    </asp:LinkButton> 
                </div> 
            </CommandItemTemplate>
            <Columns>
                <telerik:GridEditCommandColumn ButtonType="ImageButton">
                    <HeaderStyle Width="40px" />
                </telerik:GridEditCommandColumn> 
                <telerik:GridCheckBoxColumn DataField="IsAssociated" UniqueName="IsAssociated" 
                    DataType="System.Boolean" HeaderText="Active?" Visible="false">
                    <HeaderStyle Width="40px" /> 
                </telerik:GridCheckBoxColumn> 
                <telerik:GridBoundColumn DataField="Citation" UniqueName="Citation" 
                    HeaderText="Law Citation Text" DataType="System.String"> 
                </telerik:GridBoundColumn> 
               
                <telerik:GridBoundColumn DataField="BELawSecCitationDetailID" 
                    UniqueName="BELawSecCitationDetailID" Visible="false" DataType="System.Int32" /> 
                <telerik:GridBoundColumn DataField="RowVersion" UniqueName="RowVersion" 
                    DataType="System.Int32" Visible="false">
                </telerik:GridBoundColumn>
            </Columns> 
        </mastertableview> 
    </telerik:RadGrid>
    </div>
    </form>
</body>
</html>
