<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AssociazioneLinee.aspx.cs" Inherits="OlympiaIntranet.AssociazioneLinee" %>
<%@ Register Assembly="DevExpress.Web.v23.2, Version=23.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
        <dx:ASPxGridView ID="gvAssociazioneFondi" runat="server" EnableTheming="True" Theme="Office2010Blue" AutoGenerateColumns="False" DataSourceID="SqlDSAssociazioneLinee" KeyFieldName="cod_rap" OnHtmlDataCellPrepared="gvAssociazioneFondi_HtmlDataCellPrepared">
            <SettingsPager AlwaysShowPager="True" PageSize="40">
                <PageSizeItemSettings ShowAllItem="True" Visible="True">
                </PageSizeItemSettings>
            </SettingsPager>
            <Settings ShowFilterRow="True" ShowHeaderFilterButton="True" ShowFilterBar="Visible" />
            <SettingsBehavior FilterRowMode="OnClick"/>
            <SettingsFilterControl ViewMode="VisualAndText">
            </SettingsFilterControl>
            <Columns>
                <dx:GridViewCommandColumn ShowEditButton="True" VisibleIndex="0">
                </dx:GridViewCommandColumn>
                <dx:GridViewDataTextColumn FieldName="IDGDNAssociazioneLinee" Caption="Portafoglio" VisibleIndex="3" Visible="false">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="cod_rap" Caption="Portafoglio" VisibleIndex="3">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="cod_lin" Caption="Linea" VisibleIndex="4">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="des_rap" Caption="Cliente" VisibleIndex="5" >
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="cod_sta" Caption="Stato" VisibleIndex="7" >
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="cod_ges" Caption="Gestore" VisibleIndex="8" >
                </dx:GridViewDataTextColumn>                
            </Columns>
        </dx:ASPxGridView>
            <asp:SqlDataSource ID="SqlDSAssociazioneLinee" runat="server" ConnectionString="<%$ ConnectionStrings:OlympiaIntranet.Properties.Settings.SqlConnection %>" ProviderName="<%$ ConnectionStrings:OlympiaIntranet.Properties.Settings.SqlConnection.ProviderName %>" SelectCommand="GDN_AssociazioneLinee_Load" SelectCommandType="StoredProcedure" UpdateCommand="GDN_AssociazioneLinee_Upd" UpdateCommandType="StoredProcedure">
                <UpdateParameters>
                    <asp:Parameter Name="cod_rap" />
                    <asp:Parameter Name="cod_lin" />
                </UpdateParameters>
            </asp:SqlDataSource>
        </div>
    </form>
</body>
</html>
