<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detailDtxAttr.ascx.cs" Inherits="GMW.WebUserControls.mod_detailDtxAttr" %>

<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="idxAttr" Width="100%">
    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    <EditRowStyle BackColor="#999999" />
    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    <EmptyDataTemplate>
        <%: traduci("noRecord") %>
    </EmptyDataTemplate>
    <Columns>
        <asp:BoundField DataField="CodAttr" HeaderText="CodAttr" SortExpression="CodAttr" />
        <asp:BoundField DataField="ValAttr" HeaderText="ValAttr" SortExpression="ValAttr" />
        <asp:TemplateField HeaderText="data" SortExpression="DateAttr">
            <ItemTemplate>
                <asp:Label ID="Label2" runat="server" Text='<%# Eval("DateAttr","{0:dd/MM/yy HH:mm}") %>' ToolTip='<%# Eval("CodSoggetto") %>' />
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByDtx" TypeName="GMW_data.DS_DataMatrixTableAdapters.Attr2DtxTableAdapter">
    <SelectParameters>
        <asp:SessionParameter Name="DataMatrix" Type="String" SessionField="FullSearchValue" DefaultValue="0" />
    </SelectParameters>
</asp:ObjectDataSource>
<asp:Label ID="lblNumRec" runat="server" CssClass="didascalia" />
<br />
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
